Re: Compile and run programs off USB drive

2020-05-21 Thread Joel via Digitalmars-d-learn

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. :)


Compile and run programs off USB drive

2020-05-21 Thread Joel via Digitalmars-d-learn

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