Run PureBasic from USB Flash Drive
Run PureBasic from USB Flash Drive
Hello!
I am going the next week to Sweden for some time, and I wanted to know if I could copy PureBasic to my USB Flash Drive. Because, I am sure I cannot install anything in a internet cafe.
What I would like to know is if I could just copy the standalone PB debugger and the compilers including all residents etc...
So, if this is possible please tell me what should I copy and what not.
Thank you.
I am going the next week to Sweden for some time, and I wanted to know if I could copy PureBasic to my USB Flash Drive. Because, I am sure I cannot install anything in a internet cafe.
What I would like to know is if I could just copy the standalone PB debugger and the compilers including all residents etc...
So, if this is possible please tell me what should I copy and what not.
Thank you.
copy the whole dir, excluding samples
anyway, it's so small, you could copy all and still run it from a stick
anyway, it's so small, you could copy all and still run it from a stick
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
With USB Flash Drive I mean an USB stick.
Looking though, my PB folder is 50 Megs
It's because I have all kinds of UserLibs and I have the Win API helpfile..
And my USB "stick" can take 32 Megs. And the problem is, I have about 6 Megs free space, because I have all kind of bullsh*t on it
I looked how much the PB folder is without the UserLibs and the help files, and it seems to be about 10 Megs 
Looking though, my PB folder is 50 Megs

And my USB "stick" can take 32 Megs. And the problem is, I have about 6 Megs free space, because I have all kind of bullsh*t on it



- Joakim Christiansen
- Addict
- Posts: 2452
- Joined: Wed Dec 22, 2004 4:12 pm
- Location: Norway
- Contact:
128 mb stick: 14 euro ex vat
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
-
- Addict
- Posts: 841
- Joined: Mon Jun 07, 2004 7:10 pm
You can get a 32MB for free now 
BTW: I have PB on my 1GB USB key (iPod Shuffle) and it works perfectly..

BTW: I have PB on my 1GB USB key (iPod Shuffle) and it works perfectly..

Last edited by Bonne_den_kule on Tue Jan 31, 2006 6:04 pm, edited 1 time in total.
I just had a play around with a couple of flash memory sticks I have here.
The result is 1 works fine, a little slow but works well. - { SanDisk Cruzer Micro 256MB }
The other is just "NO" It failed, failed & failed, even crashed my computer once. - { Manac.com.au flash memory 256MB }
For WIW, the Cruzer unit I have, I have set up as a bootable drive to allow me to run some old DOS programs I still use with my work which the manufacturers havent updated. - Don't intend to update.
This allows me to keep my home computer as NTFS & be able to run these old DOS programs via my bootable Flash drive.
Also for people interested, if you want, there are a couple of Linux versions around which you can setup to run directly from a bootable Flash memory stick now. - Knoppix is 1 of them
I don't know enough about Linux to bother trying to set 1 up, but would be interested to know if anyone else has done this.
The result is 1 works fine, a little slow but works well. - { SanDisk Cruzer Micro 256MB }
The other is just "NO" It failed, failed & failed, even crashed my computer once. - { Manac.com.au flash memory 256MB }
For WIW, the Cruzer unit I have, I have set up as a bootable drive to allow me to run some old DOS programs I still use with my work which the manufacturers havent updated. - Don't intend to update.
This allows me to keep my home computer as NTFS & be able to run these old DOS programs via my bootable Flash drive.
Also for people interested, if you want, there are a couple of Linux versions around which you can setup to run directly from a bootable Flash memory stick now. - Knoppix is 1 of them
I don't know enough about Linux to bother trying to set 1 up, but would be interested to know if anyone else has done this.

ok. I bought the Kingston stick and copied the whole PB directory including the examples and the help files. It is very sad to say but, PB doesn't work when I run it. First, it needs very much to load, then it says Not Responding and I have to kill the process. I tried several times, but without luck
I hate that Kingston one. But I'll use it to store my bullsh*t

I hate that Kingston one. But I'll use it to store my bullsh*t

Great to hear that PureBasic runs from a stick well. But would like to know if current version (PB4) is running in "true" portable mode?
To be specific:
- does not write anything to the registry
- all file references (eg help, pref files) are accessed by relative path (in case the USB drive is assigned a different letter)
- does not write anything to Window's current user App Data folder.
- does not require Administrator windows user account.
To save me the trouble, has anyone tried running it with a registry and file monitor? I believe the /NOEXT is important here.
To be specific:
- does not write anything to the registry
- all file references (eg help, pref files) are accessed by relative path (in case the USB drive is assigned a different letter)
- does not write anything to Window's current user App Data folder.
- does not require Administrator windows user account.
To save me the trouble, has anyone tried running it with a registry and file monitor? I believe the /NOEXT is important here.
> - does not write anything to the registry
The IDE writes the *.pb file association to the registry on startup
Disable that with the /NOEXT switch
> - all file references (eg help, pref files) are accessed by relative path (in case the USB drive is assigned a different letter)
> - does not write anything to Window's current user App Data folder.
> - does not require Administrator windows user account.
All these are the case without needing any extra steps.
The IDE writes the *.pb file association to the registry on startup
Disable that with the /NOEXT switch
> - all file references (eg help, pref files) are accessed by relative path (in case the USB drive is assigned a different letter)
> - does not write anything to Window's current user App Data folder.
> - does not require Administrator windows user account.
All these are the case without needing any extra steps.
quidquid Latine dictum sit altum videtur