windows - Batch Script to Open TXT doc - My Documents path for any user -


hello!

hopefully easy one

can input path text file within batch script recognise path regardless of windows user executes it?

e.g. i've tried:

@echo off path c:\documents , settings\%user%\my documents start test.txt  exit 

any appreciated!

replacing %user% %username% should trick.


Comments