![]() |
[QUOTE=CRGreathouse;229911]Hmm. It looks like you could make it work if you changed the environment variable "TEMP" to point to your portable drive, it would work. You *may* be able to do this:
[code]@echo off REM ************************************************ REM * Put this in a file called pari.bat * REM * Change F:\ to your portable's drive letter * REM * Change C:\Program... as needed * REM ************************************************ set TEMP=F:\tmp cd "C:\Program Files\PARI" gp[/code] but I'm not at a Windows machine at the moment so I can't test it.[/QUOTE] tell me where to put it in Pari directory ? |
[QUOTE=science_man_88;229915]tell me where to put it in Pari directory ?[/QUOTE]
You can put it anywhere you like, then run it by double-clicking. Be sure that the directories are right, though -- your Pari directory may be "C:\Program Files (x86)\PARI", for example, rather than what I wrote above. Of course getting the temp directory correct is critical in this case. (You probably also need to create the directory on F:\ or whatever.) |
[QUOTE=CRGreathouse;229911]Hmm. It looks like you could make it work if you changed the environment variable "TEMP" to point to your portable drive, it would work. You *may* be able to do this:
[code]@echo off REM ************************************************ REM * Put this in a file called pari.bat * REM * Change F:\ to your portable's drive letter * REM * Change C:\Program... as needed * REM ************************************************ set TEMP=F:\tmp cd "C:\Program Files\PARI" gp[/code] but I'm not at a Windows machine at the moment so I can't test it.[/QUOTE] well I can't go above 127 without the error and that's when it comes up lol. |
I just realised it's only when i try files i think.
|
got it working on C lol nice.
|
[QUOTE=science_man_88;229943]well I can't go above 127 without the error and that's when it comes up lol.[/QUOTE]
...because below that point you're not using MPQS. |
it let me make folders but not files even though I used to all the time I think lol so i was able to make the temp folder in C yeah lol.
|
I'd still like to get it to work for all portables as well then I can have a script to change it on the fly so I can make them bigger and bigger lol. actually sounds like too much time to do it lol.
|
[QUOTE=science_man_88;229978]I'd still like to get it to work for all portables as well then I can have a script to change it on the fly so I can make them bigger and bigger lol. actually sounds like too much time to do it lol.[/QUOTE]
Well, I did give you a file... did you try it? |
[QUOTE=CRGreathouse;229980]Well, I did give you a file... did you try it?[/QUOTE]
I think it couldn't create it in the other drives on it's own like write can so I'll have to set it up first I guess then i think the main thing is changing the TEMP variable on the fly. |
[QUOTE=science_man_88;229981]I think it couldn't create it in the other drives on it's own like write can so I'll have to set it up first I guess then i think the main thing is changing the TEMP variable on the fly.[/QUOTE]
That's what my batch file does: changes the TEMP variable (temporarily!), then runs gp. |
| All times are UTC. The time now is 23:14. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.