The Windows XP edition:

Trying to do things through the command prompt, and without installing third-party tools, not always so easy. (Warning: contains some artifacts from use in batch scripts, e.g. variables:%BUILDSHARE% and running in new windows:start "" /w)

1. Uninstalling a program.
- Run regedit
- Navigate to the program, something like:
HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > Uninstall

- Make a note of the hex key, e.g. {4321ABCD-AB34-12CD-EF56-98769876DCBA}
- Then from cmd.exe:
msiexec /X {4321ABCD-AB34-12CD-EF56-98769876DCBA} /qn


Code stays same for product through different versions. Only really useful if you're continually un/re-installing the same product.

2.
a. Mount a remote server.
- start "" /w NET USE W: %BUILDSHARE%
b. Unmount a remote server.
- NET USE W: /DELETE
*edit* NET USE does not play well with the Server service in Windows (particularly Server 2003). You have to stop the Server service to use it. Which, defeats the purpose of having a Server install at all.


3. Unzipping a non-NTFS-specific compressed folder (i.e. .zip)
- There is a way through the GUI, so far only got to opening .zip from command prompt, then use Extract All button. Opening a .zip from cmd.exe: RunDll32.exe zipfldr.dll,RouteTheCall %ARCHIVE%.zip
- Or accept it's not happening. Buy WinZip, or install 7Zip or IZArc (my personal fave) command line utilities. IZArc: start "" /w IZArc -eh %SAVELOC% %ARCHIVE%

Profile

chebe: (Default)
chebe

Syndicate

RSS Atom

July 2025

M T W T F S S
 1 23456
78910111213
14151617181920
21222324252627
28293031   

Expand Cut Tags

No cut tags

Style Credit