Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

%~dpn0


 Share

Recommended Posts


The folder with the apps in the example i gave you where '\$OEM$\RunOnceEx\' and then the path to the apps in RunOnceEx.cmd is then '%~dpn0\' which expands to 'E:\$OEM$\RunOnceEx\' if the CD drive where E:...

If the folder with the apps instead where e.g. '$OEM$\Apps\', then the path would be: '%~dp0\Apps\'...

Check out jaclaz's links...

Link to comment
Share on other sites

The folder with the apps in the example i gave you where '\$OEM$\RunOnceEx\' and then the path to the apps in RunOnceEx.cmd is then '%~dpn0\' which expands to 'E:\$OEM$\RunOnceEx\' if the CD drive where E:...

If the folder with the apps instead where e.g. '$OEM$\Apps\', then the path would be: '%~dp0\Apps\'...

Check out jaclaz's links...

Ohhh. Catching on slowly. Thx for explaining.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...