Jump to content

Command line - %currentuser% type command

- - - - -

  • Please log in to reply
No replies to this topic

#1
flipz

flipz

    Newbie

  • Members
  • Pip
  • 1 posts
Hey all. So I am not a programmer in any way (just joined to ask this question) but I am writing a very simple batch file to perform a few routine things in Vista.

I have it all done except one. I need an easy way to execute a command (delete) on the current user's desktop as part of the batch file.

So basically I'm wondering if there is some kind of command like "c:\users\%currentuser%" or anything similiar, that will automatically redirect me to the current user that is running the script.

Thanks!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users