Jump to content

Shortcut.exe and others


Recommended Posts


OK, I've had a play and this tiny app works flawlessly.

Example usage for XP AntiSpy

1) The xp-AntiSpy.exe is copied over by being placed in $OEM$\$PROGS\XPANTISPY\ and the shortcut.exe is in $OEM$\$$

2) This line is executed in my cleanup.cmd (the last entry in my RunOnceEx)

shortcut.exe /F:"%AllUsersProfile%\Start Menu\Programs\XP Antispy.lnk" /A:C /T:"%ProgramFiles%\XPANTISPY\XP-ANTISPY.exe" /R:1

Simple explanation of syntax;

/F:"blah blah" = Path and name for the required shortcut

/A:C = Action to carry out:Create shortcut

/T:"blah blah" = Path and name for the target file

/R:1 = Window state (1=normal, 3=maximised, 7=minimised)

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...