Page 1 of 1

A very simple question!

Posted: 17 Aug 2009 05:46
by oxydiom
Hey
first let me tell you that I know NOTHING about batch :D

I want to create a batch file which opens a folder which is in an upper folder.

For example:
Batch files location: CDROM/fscommand/222.bat
Target: CDROM/DOCS/


how shall I do it?
and if I want to start a .exe program in the DOCS folder, what is the command?

I'm not sure what you're asking for...

Posted: 24 Aug 2009 16:49
by ldrechsler
Are you trying to COPY files from one folder to another, trying to execute a program in a different folder, or ???

Just guessing, but it looks like you're using some variant of Linux or perhaps OSX (based on the CDROM/fscommand path). Could you tell us a little more about what you want to accomplish and what computer you're working on?

Posted: 25 Aug 2009 09:05
by avery_larry
Full path:

c:\your\path\cdrom\docs\a.exe


relative path:

..\docs\a.exe