Link to home
Start Free TrialLog in
Avatar of E=mc2
E=mc2Flag for Canada

asked on

How can I set the name of the ini file?

I would like to change the following:

 set IniFile=%~dpn0.ini

Where the n is supposed to be the name of the bat file, I want to specify the name of this ini file to be for example:
"record"
So the ini file I want to be specified as record.ini

Everything else can stay the same as is indicated in the script, the path, location etc.
ASKER CERTIFIED SOLUTION
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial