www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Compile and run programs off USB drive

reply Joel <joelcnz gmail.com> writes:
With Windows OS.

How would I use my USB drive to compile and run (with 64-bit too)?

So far I made a bat file that adds D to %PATH%. There's no zip 
file of DMD to download, and I didn't get the 7z to work (even 
with the 7z program?!) - last time I tried. With 64-bit, I don't 
see what to do there ..

edp.bat
set PATH=\jpro\dmd2\windows\bin;\jpro\dpro2\Windows\dlls;%PATH%
cd jpro\dpro2
May 20 2020
parent Joel <joelcnz gmail.com> writes:
On Thursday, 21 May 2020 at 06:23:10 UTC, Joel wrote:
 With Windows OS.

 How would I use my USB drive to compile and run (with 64-bit 
 too)?

 So far I made a bat file that adds D to %PATH%. There's no zip 
 file of DMD to download, and I didn't get the 7z to work (even 
 with the 7z program?!) - last time I tried. With 64-bit, I 
 don't see what to do there ..

 edp.bat
 set PATH=\jpro\dmd2\windows\bin;\jpro\dpro2\Windows\dlls;%PATH%
 cd jpro\dpro2
Nevermind, I got it working just edited the bat file putting bin64 instead of bin. :)
May 20 2020