A very simple question!

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
oxydiom
Posts: 1
Joined: 17 Aug 2009 05:41

A very simple question!

#1 Post by oxydiom » 17 Aug 2009 05:46

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?

ldrechsler
Posts: 5
Joined: 24 Aug 2009 15:56

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

#2 Post by ldrechsler » 24 Aug 2009 16:49

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?

avery_larry
Expert
Posts: 391
Joined: 19 Mar 2009 08:47
Location: Iowa

#3 Post by avery_larry » 25 Aug 2009 09:05

Full path:

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


relative path:

..\docs\a.exe

Post Reply