You are not logged in.
Pages: 1
Hello reader,
using
for %i in (*.txt) do echo %~pi%i >> place.txt
in a cmd-box works well.:)
But using
for %%i in (*.txt) do echo %%~pi%%i >> place.txt
in a scrip does not work at all.:(
But how can I get the local path in a windows-script?:|
Martell
Offline
I have test your script and work properly..
To get localpath use path command :
more ?..
http://www.ss64.com/nt/path.html
are you mean that ?..
-------------------------------------------
or you mean to get fullpath of file name : %~fI
Last edited by Fen_Li (15 Jun 2007 17:56)
G-Smart thing Smart
Offline
Pages: 1