Batch file to run programs (like TWEAUKUI)

R

Richard

Is it possible to create and run a batch file that will run TWEAKUI, and
change DESKTOP location?

Or is there no other way, than me using the mouse curser to do these things.
Thanks.
 
A

Anteaus

The desktop location (among other things) is determined by the "User Shell
Folders" registry key.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders]

You can modify this programmatically by way of a .reg file. When you do
things this way you also need to copy or move any files on the desktop as a
separate command.

Also note that the values in this key are the special REG_EXPAND_SZ variety.
To see how these are entered via a .reg file, export the existing ones and
examine the file.


.reg files are imported silently with

regedit /s <regfilename>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top