Shortcut or batch to go to local subfolder

F

Frank Spade

Hi,

for my USB-stick I like to have a shortcut or batch in it's root, that
brings me to a subfolder when I click it from within Windows Explorer.

I have tried this unsuccessfully with a shortcut with this property:
"%CD%\PRIVATE\AVCHD\BDMV\STREAM" <- gives me an error
and a batch file with this content:
cd "%CD%\PRIVATE\AVCHD\BDMV\STREAM" <- does nothing in windows explorer, but
works in a command shell.

Please advise.

Kind regards,

Frank
 
P

Pegasus [MVP]

Frank Spade said:
Hi,

for my USB-stick I like to have a shortcut or batch in it's root, that
brings me to a subfolder when I click it from within Windows Explorer.

I have tried this unsuccessfully with a shortcut with this property:
"%CD%\PRIVATE\AVCHD\BDMV\STREAM" <- gives me an error
and a batch file with this content:
cd "%CD%\PRIVATE\AVCHD\BDMV\STREAM" <- does nothing in windows explorer,
but works in a command shell.

Please advise.

Kind regards,

Frank

Try this:
explorer "C:\Private\AVCHD\BDMV\STREAM"
 
F

Frank Spade

Try this:
Well, thanks.
explorer "%CD%PRIVATE\AVCHD\BDMV\STREAM"
did it.

Good old batch language is still good for something ...
 
F

Frank Spade

Try this:
explorer "C:\Private\AVCHD\BDMV\STREAM"

Danke Pegasus.

Da ich den Laufwerksnamen nicht wissen kann, muss ich das aber so machen:
explorer "%CD%PRIVATE\AVCHD\BDMV\STREAM"
 

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

Top