Ask a question Report

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

deepty - Latest answer on Nov 16, 2012 01:10PM
Hello,
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.
Thanks
Deepty.
Read more 
Answer
+74
moins plus
%SystemRoot%\explorer.exe "folder path"

Answer
+27
moins plus
%SystemRoot%\explorer.exe "folder path"

folder path is the path you wish to open

Answer
+25
moins plus
Do this using notepad, save as: anything.BAT

If you wanted to open documents do:

START C:\Users\Daniel\Documents


Hope I've helped. :)

Answer
+12
moins plus
%SystemRoot%\explorer.exe "folder path"

just type the folder path between the quotations

hellboy- Oct 11, 2011 04:46AM
correct
hellboy- Oct 11, 2011 04:47AM
\> explorer \\ip
Answer
+6
moins plus
hey buddy,

just check out the link below this is what you are in search of :

http://en.kioskea.net/forum/affich 16973 open a file with spaces from batch file

Answer
+4
moins plus
" start \\sertver\folder\file.doc "

Answer
+4
moins plus
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 (http://www.drbatcher.com).

RogerV- Dec 9, 2010 08:13PM
Sorry, the right URL is http://www.drbatcher.com
Answer
+2
moins plus
in dos there is cmd for opening any file or folder
start <pgmname>

JiTh- Feb 16, 2009 02:14AM
Thanks for your wrote sasuke
This document entitled « How do I open a folder using batch file » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.

Not a member yet?

sign-up, it takes less than a minute and it's free!

Members get more answers than anonymous users.

Being a member gives you detailed monitoring of your requests.

Being a member gives you additional options.