You are here

What is the purpose of the Documents folder and Start.exe?

26 posts / 0 new
Last post
lwc
Offline
Last seen: 3 weeks 1 day ago
Translator
Joined: 2006-04-26 06:35
What is the purpose of the Documents folder and Start.exe?

The app arrives as 2 folders and 1 file:

  1. Documents
  2. PortableApps
  3. Start.exe

To be honest, I've kept just the PortableApps subfolder as its own standalone folder, because I don't understand the purpose of the other folder and file. Start.exe seems like a shortcut to PortableApps\PortableApps.com\PortableAppsPlatform.exe although it's a real file that takes a couple of MB.

May I ask what is the purpose of them?

John T. Haller
John T. Haller's picture
Online
Last seen: 42 min 4 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Purpose

The Start.exe is a full EXE and does things like testing the TEMP folder's viability and a few other things before passing off to PortableApps.exe.

The Documents folder contains the Documents, Music, Videos, Pictures used by the PA.c Platform and its apps. The idea being you'd be carrying it all around on an external drive or syncing it all on a cloud drive folder. Doesn't apply as much to a local install.

Sometimes, the impossible can become possible, if you're awesome!

lwc
Offline
Last seen: 3 weeks 1 day ago
Translator
Joined: 2006-04-26 06:35
How important is it?

What happens on startup is not Start.exe but the other file. Does it mean it's not supposed to be used except for the first time?
As for Documents, does it make the portable apps use it?

John T. Haller
John T. Haller's picture
Online
Last seen: 42 min 4 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Portable, Yes

Start is generally used on portable drives as the tests it does (TEMP etc) usually only need to be done on a PC that's not yours. It's fine to start PortableAppsPlatform.exe directly.

Many portable apps will use the bundled Documents, etc by default.

Sometimes, the impossible can become possible, if you're awesome!

lwc
Offline
Last seen: 3 weeks 1 day ago
Translator
Joined: 2006-04-26 06:35
But it's not used automatically

What's used automatically is the other file. So even those with a PC that's not theirs are likely to never use it.

John T. Haller
John T. Haller's picture
Online
Last seen: 42 min 4 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Portable Drive

On a portable drive, they're gonna use Start.exe in the root directory. The 'Start Automatically With Windows' etc is for your own PC. You wouldn't install it permanently on someone else's PC. Unless it was a work or school PC, in which case you know TEMP and stuff is working correctly anyway so Start.exe isn't needed.

Sometimes, the impossible can become possible, if you're awesome!

igmkjp
Offline
Last seen: 3 months 3 weeks ago
Joined: 2023-01-04 05:53
Where is the TEMP folder and

Where is the TEMP folder and what does it do? When you say "used by", do you mean some of the apps store their files there? Why can't they store them in PortableApps/whatever?

John T. Haller
John T. Haller's picture
Online
Last seen: 42 min 4 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
System TEMP, Portable Optional

By default, apps use the system TEMP directory since it will be fastest and have available space. You can optionally specify a portable location but I only recommend doing it if the drive is fast enough and has sufficient space: https://portableapps.com/support/platform#advanced

Sometimes, the impossible can become possible, if you're awesome!

igmkjp
Offline
Last seen: 3 months 3 weeks ago
Joined: 2023-01-04 05:53
Use the TEMP directory for

Use the TEMP directory for what? And why is the portable documents folder necessary? And where is the system temp directory?

John T. Haller
John T. Haller's picture
Online
Last seen: 42 min 4 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
System TEMP

Windows has a built in TEMP directory which is used by all apps. All kinds of apps use it for temporary files. Google Drive, Photoshop, FileZilla, Skype, Steam, etc. The PA.c Platform can optionally use a contained TEMP on your drive if you'd like to keep all your portable app TEMP files in a single location outside system temp. Our portable apps contain and delete their own TEMP directory on exit already.

The portable Documents folder is primarily for folks using the platform from a portable drive. It's a place for all your files without storing them locally. Most of our apps will automatically use it for saving files.

Sometimes, the impossible can become possible, if you're awesome!

igmkjp
Offline
Last seen: 3 months 3 weeks ago
Joined: 2023-01-04 05:53
What exactly does start.exe

What exactly does start.exe do? What do you mean by "our apps contain their own temp directory"? Are you saying the apps aren't capable of saving files anywhere? So long as the files are on the portable drive, why does it matter if they're in the documents folder?

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Online
Last seen: 15 min 55 sec ago
Translator
Joined: 2019-07-19 07:09
Search Before Posting. A universal Fora Rule

All your questions were already answered, others need a basic search (as I did) to quickly find related topics.
PA.c has a deep documentation to fully answer such topics, also older threads and the web of course.

“All these years that I had spent in the service of mankind brought me nothing but insults and humiliation.”
― Nikola Tesla ―

“I'm such an open book, but you shall read between the lines.”
― Neo Buddha ―

igmkjp
Offline
Last seen: 3 months 3 weeks ago
Joined: 2023-01-04 05:53
I can't even find the forum

I can't even find the forum search. There's a search bar in the upper right but it's not for the forum. And what do you mean by "the web of course"? What other sites could I possibly get the answers from?

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Online
Last seen: 15 min 55 sec ago
Translator
Joined: 2019-07-19 07:09
Advanced Search
  1. On the upper right corner → Click on the magnifying glass → Advanced Search (https://portableapps.com/search/node/)
  2. The Almighty Google. It helps when advanced informations are somehow burried.

“All these years that I had spent in the service of mankind brought me nothing but insults and humiliation.”
― Nikola Tesla ―

“I'm such an open book, but you shall read between the lines.”
― Neo Buddha ―

igmkjp
Offline
Last seen: 3 months 3 weeks ago
Joined: 2023-01-04 05:53
I don't know what a node is.

I don't know what a node is. What I'm looking for are forum threads. And why would information about the platform be on some other site, but not on this one?

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Online
Last seen: 15 min 55 sec ago
Translator
Joined: 2019-07-19 07:09
Just Stop Your Spam!

Just Stop Your Spam!

“All these years that I had spent in the service of mankind brought me nothing but insults and humiliation.”
― Nikola Tesla ―

“I'm such an open book, but you shall read between the lines.”
― Neo Buddha ―

John T. Haller
John T. Haller's picture
Online
Last seen: 42 min 4 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Look Up

Start is already described earlier in this very thread: https://portableapps.com/comment/257270#comment-257270

The AppNamePortable.exe launcher will contain the apps TEMP files within a directory inside TEMP and delete it on exit. So, the launcher makes sure the app itself doesn't leave temp files behind.

Documents is to help organize as a default. You can save stuff wherever you want. A lot of apps will default to Documents on the local PC and some users may not realize this. That's why a portable Documents folder exists and is the default when it can be.

Sometimes, the impossible can become possible, if you're awesome!

igmkjp
Offline
Last seen: 3 months 3 weeks ago
Joined: 2023-01-04 05:53
What do you mean by "checking

What do you mean by "checking the temp folder's viability"? What might be wrong with it? And what are the "few other things"?

Are you saying there are some people who don't even look at where their files are being saved?

What functionality does a portable temp folder provide over a local temp folder? If the files are temporary, who cares where they are?

John T. Haller
John T. Haller's picture
Online
Last seen: 42 min 4 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Config Issues, Etc

Our users have had PCs with a TEMP directory defined to a path that doesn't exist. Or one where the current user doesn't have permission to write to them. The Start.exe launcher checks all of this and responds appropriately.

Lots of people just click save without really looking since they expect it to save to their Documents directory. Since many portable app users are using someone else's PC, we don't want to do that by default just in case.

As explained above, the AppNamePortable.exe launcher creates a temporary directory of its own within TEMP and then uses that, deleting it on exit. The TEMP files could contain personal data. Or indicate what a user was doing on the PC to a third party. If an app leaves files behind in TEMP, it's not portable. https://portableapps.com/about/what_is_a_portable_app

Sometimes, the impossible can become possible, if you're awesome!

igmkjp
Offline
Last seen: 3 months 3 weeks ago
Joined: 2023-01-04 05:53
"Temp directory defined to a

"Temp directory defined to a path that doesn't exist" - out of curiosity, how does that happen?
"Current user doesn't have permission to write" - just to be clear, we're talking about C:/users/username/appdata/local/temp, right?
What does start.exe do if temp is inaccessible but tempforportableapps doesn't exist? Does it create it?

John T. Haller
John T. Haller's picture
Online
Last seen: 42 min 4 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Misconfiguration and Corruption

Temp not existing is rare but can happen if the end user adjusted their paths but then deleted the directory they adjusted it to. Corruption can cause it, too.

Yes, it's possible for your defined temp directory not to have write permission for the current user. Again, rare, but it can happen due to misconfiguration or corruption.

Currently, it will alert you with a message. Either...

"The TEMP directory on this computer (C:\PathTo\Temp) does not seem to exist. Most software requires a valid TEMP directory. Please ensure a valid TEMP directory exists and can be written to. You can create a folder TempForPortableApps next to Start.exe to use a custom one temporarily."

Or...

"The TEMP directory (C:\PathTo\Temp) can not be written to, likely due to permissions. A valid TEMP directory is required for most software to properly function. Use the Permissions tab of Folder Properties and add the appropriate Read, Write, Modify and Execute rights."

We've run into users with both of these issues over the years, usually on a machine like at a school, cafe, etc. So, those specific checks and alerts were added.

Sometimes, the impossible can become possible, if you're awesome!

igmkjp
Offline
Last seen: 3 months 3 weeks ago
Joined: 2023-01-04 05:53
OK. I think at this point it

OK. I think at this point it's clear that I in particular don't need these features. Thanks.

John T. Haller
John T. Haller's picture
Online
Last seen: 42 min 4 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Probably Not

If you're using it on your own PC, you probably don't need it. When installed for all users in the C:\ root, the installers omits Start.exe because (1) Windows gets made about putting apps there and (2) the user will likely never need it.

Sometimes, the impossible can become possible, if you're awesome!

igmkjp
Offline
Last seen: 3 months 3 weeks ago
Joined: 2023-01-04 05:53
It's installed on D:\, but I

It's installed on D:\, but I agree.

libritario
libritario's picture
Offline
Last seen: 4 months 2 weeks ago
Joined: 2018-04-15 11:23
Make a Link on Menu on Documents directly to document folder

Is there a possibility of putting the link to documents in the menu that directs directly to the documents folder? The thing is that when you click on it it takes you to the folder where you see the folders, music, photos, videos, and it doesn't make sense because those folders also appear in the menu so you can go directly to them.

Libritario

John T. Haller
John T. Haller's picture
Online
Last seen: 42 min 4 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Within

Those three folders are within the Documents folder as was the standard in legacy versions of Windows.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments