Archive: Truncating Directories


Truncating Directories
Truncating Directories

Is there a function that will turn "C:\Program Files\Application" to "c:\progra~1\applic~1" internally?


GetFullPathName /SHORT $0 "$progamfiles\application"
detailprint $0


Thanks, it took me a few minutes to realize that the directory had to exist before this would work.