MS-DOS Problem

  • Thread starter Thread starter cgrisg
  • Start date Start date
C

cgrisg

Hi,

Can anyone give me a DOS command I can put in a batch
file to simply open an explorer window of the specified
folder. I had it working earlier, but I am unable to
recreate it with a long path.

I had achived what I wanted with the command:

start g:\files

However, I cannot get it to work with 'g:\files\chris's
work' I have tried putting double quotes and everything

Any help much appreciated

Chris!
 
should be easier with a script. Do you need DOS instead of vbscript / WSH ?
 
Hmmmm...
start "G:\something\something else"
opens a command window for me

start "" "G:\something\something else"
does work as intended here
(the first set of quotes is for an optional title)

start "G:\something\something else"

is all that is needed.
 
Fantastic, thanks!

-----Original Message-----
Use the command:

explorer [path]

Steve
Hi,

Can anyone give me a DOS command I can put in a batch
file to simply open an explorer window of the specified
folder. I had it working earlier, but I am unable to
recreate it with a long path.

I had achived what I wanted with the command:

start g:\files

However, I cannot get it to work with 'g:\files\chris's
work' I have tried putting double quotes and everything

Any help much appreciated

Chris!

.
 
You're welcome. I couldn't get "Start" command to work at all.

Steve

Fantastic, thanks!


-----Original Message-----
Use the command:

explorer [path]

Steve

cgrisg wrote:

Hi,

Can anyone give me a DOS command I can put in a batch
file to simply open an explorer window of the
specified
folder. I had it working earlier, but I am unable to
recreate it with a long path.

I had achived what I wanted with the command:

start g:\files

However, I cannot get it to work

with 'g:\files\chris's
everything


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top