anyone else partitioned drive
would be good to have the usual masm32 sdk and a customized on same drive without need to rewrite all includes in source files
SUBST works like a charm, I've been using it for a decade now. (https://en.wikipedia.org/wiki/SUBST#Persisting_across_reboots)
I have been partitioning hard disks for close to 30 years, this allows me to use a dedicated partition just for development. Others for other tasks, others for similar data storage. Not only that but I set up an 8 gig ramdisk for junk, downloads and the occasional testing of very high speed stuff. Do whatever is necessary to escape from one C:\ partition so you are not nobbled by Microsoft's stuffups.
The Masm32 installation can also run on a RAM disk :
http://www.ltr-data.se/opencode.html/#ImDisk
The proper way to do it is not to have paths in your source in the first place.
- Define a system environment variable: MASM_HOME with the full path to your masm installation
- Edit the assemble/link/build/etc .bat files so they use this for the exe paths, e.g. "%MASM_HOME%\bin\ml"
- Additionally, pass the include/lib locations to the right tools, e.g. "%MASM_HOME%\bin\ml /I%MASM_HOME%\include ..." and "%MASM_HOME%\bin\link /LIBPATH:%MASM_HOME%\lib ..."
- Don't use paths in your source, e.g. "include kernel32.inc" and "includelib kernel32.lib"
- Move things anywhere you like.