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

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -