dragging input file to batch
Posted: 12 Oct 2011 14:16
HI
i have the following behaviour!! when dragging an input file to a BATCH file.
when using sort %1 >>out.txt ,the output file does not appear in the working directory ,however,if i use the command : type out.txt there is an output.
@echo off
sort %1 >>f4.txt //No output file APPEARS in the current directory
type f4.txt // there is a correct output
pause
PLease Why ?
i have the following behaviour!! when dragging an input file to a BATCH file.
when using sort %1 >>out.txt ,the output file does not appear in the working directory ,however,if i use the command : type out.txt there is an output.
@echo off
sort %1 >>f4.txt //No output file APPEARS in the current directory
type f4.txt // there is a correct output
pause
PLease Why ?