Search found 1 match

by matt098
25 Feb 2010 13:17
Forum: DOS Batch Forum
Topic: parameters from txt file ?
Replies: 1
Views: 3662

parameters from txt file ?

Hi I have txt file :

Code: Select all

aaa bbb %1


and in bat file :

Code: Select all

@echo off
set /p var= <plik.txt
echo.%var%


and when i write first parameter in command line : ccccc
in ms dos window i dont have aaa bbb ccc
only aaa bbb %1 ;/;/ :cry: :cry:

any ideas???