Search found 4 matches

by yakirllc
03 Dec 2013 06:43
Forum: DOS Batch Forum
Topic: Passing parameters through CMD in batch files
Replies: 7
Views: 6894

Re: Passing parameters through CMD in batch files

Hi,

I understand.

Thanks of the help.
by yakirllc
02 Dec 2013 08:49
Forum: DOS Batch Forum
Topic: Passing parameters through CMD in batch files
Replies: 7
Views: 6894

Re: Passing parameters through CMD in batch files

OK then, My goal is as the following, I need to have a batch script that executes a perl script while this perl script might need to get parameters and those parameters can be complicated like: tasklist | find /i "some process" and so on. Why do I must use the batch script? because my syst...
by yakirllc
02 Dec 2013 08:31
Forum: DOS Batch Forum
Topic: Passing parameters through CMD in batch files
Replies: 7
Views: 6894

Re: Passing parameters through CMD in batch files

Hi,

Yes, because this is how my system works.

Thanks.
by yakirllc
02 Dec 2013 03:31
Forum: DOS Batch Forum
Topic: Passing parameters through CMD in batch files
Replies: 7
Views: 6894

Passing parameters through CMD in batch files

Hi, It's hard to explain my problem so I'll just show it to you: I want to run the following command: run.bat "1 \"3 2\"" and get the following output: param1: 1 param2: 3 2 Instead, I get nothing. Here is my script: @echo off set arg=%~1 FOR /F "tokens=1*" %%I in (&quo...