2
In a batch program I have:
echo Date >c:\users\...\testecmd.txt
Write the current date in a text file.
Assuming I don’t know where is the directory in which the auto executable is, how do I get it to call the Current directory, in place of "c: users... testecmd.txt" and write this same directory instead of Date ?
echo "c:\Diretorio\atual\" >c:\diretorio\atual\testecmd.txt