How to remove path of my command line?

Whats this line means in command prompt :D:/>\dir\abs arg?

  • hi friend i don't know whats this line mean i have a batch file and in the last line of that , i have exactly this line: \pay\payroll jad and it must execute as D:>\pay\payroll jad i dont know what's that mean I declare a path to folder Pay thanks for your helps

  • Answer:

    It means that the payroll jad file must reside in the pay directory (or folder) of the D: drive. Your batch file is looking for the file in the pay directory of whatever the current drive is. If you want to make sure it looks in the D: drive, then change your batch file from: \pay\payroll jad To D:\pay\payroll jad

pouya at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

I don't think will do anything but give you an error or there is something missing: D: this will move the focus to drive D > this is the symbol (pipe) for redirection any results will be sent to: \pay\payroll jad Here things are interesting after payroll there must be something, can't be a blank space, so I assume it will be payroll\jad JAD will be the name of the file created, there is another mistake there is NO COMMAND, at the beginning so it won't do nothing. This command will work: DIR D: >\pay\payroll\jad.txt Will create a list of the Directory (or folder) from ROOT D: to jad.txt (a text file you can read with notepad) If you do not use txt it will still be a text file you just have to open it without the txt extension.

JM

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.