How do I open a folder using batch file [Solved/Closed]

Ask a question deepty - Last answered on Jul 25, 2017 at 02:28 PM by Sir Frederick Rupert Fielding III

Iam trying to open a folder in a particular drive. How do I create a batch file for opening any particular folder?

Any kind of help is appreciated.

plus moins
%SystemRoot%\explorer.exe "folder path"
Was this answer helpful?  
Sir Frederick Rupert Fielding III- Jul 25, 2017 at 02:28 PM
Good sir,

This answer was excellent as it provided precisely the information I required in order to perform my desired task. The result of said task was exactly the outcome which I had dreamt of for hours upon hours as I searched for guidance. Without you sharing your expertise with us I would have never been able to feel the euphoria of this experience!

Thank you for your teachings,
Sir Frederick Rupert Fielding III
plus moins
Do this using notepad, save as: anything.BAT

If you wanted to open documents do:

START C:\Users\Daniel\Documents

Hope I've helped. :)
plus moins
%SystemRoot%\explorer.exe "folder path"

folder path is the path you wish to open
plus moins
%SystemRoot%\explorer.exe "folder path"

just type the folder path between the quotations
hellboy- Oct 11, 2011 at 04:46 AM
hellboy- Oct 11, 2011 at 04:47 AM
\> explorer \\ip
plus moins
hey buddy,

just check out the link below this is what you are in search of : 16973 open a file with spaces from batch file
plus moins
" start \\sertver\folder\file.doc "
plus moins
You can create a batch file like
explorer "folder path"
(quotes are not necessary for paths without spaces).
Then you can convert your batch file to exe. There is a number of software for it. For example, you can use Dr.Batcher (
RogerV- Dec 9, 2010 at 08:13 PM
Sorry, the right URL is
plus moins
in dos there is cmd for opening any file or folder
start <pgmname>
JiTh- Feb 16, 2009 at 02:14 AM
Thanks for your wrote sasuke

Member requests are more likely to be responded to.

Members can monitor the statuses of their requests from their account pages.

A CCM membership gives you access to additional options.

Not a member yet?

Sign up now. It takes less than a minute and is completely free!