i want to create a batch file which will add its directory path to registry as a string value.
Yeah... google it.. and if you are too lazy, here is what would I have done..
1. Create a reg file(s) for the key containing the string
2. Create a batch file which would call those reg files, in separate lines
3. Just run the batch file...
how to i get batch file's directory path. And ho to put it in reg file
See the following guides:
How to add, modify, or delete registry subkeys and values by using a registration entries (.reg) file
Batch files - Use REGEDIT to add, read or delete registry values
To know path of any file, just right click on it, and select properties.
got it. thnx for replying.
close this post mods