You are here

Directories Hidden

4 posts / 0 new
Last post
pcmedic
Offline
Last seen: 3 years 7 months ago
Joined: 2008-10-30 17:30
Directories Hidden

I installed PortableApps Platform 10.0 in C:\Temp\PAS. When I go to Windows Explorer I can see the PortableApps and Documents directories. But when I go to the C:\Temp\PAS directory from the command line all I see is the autorun.inf and start.exe. Why is this? Pardon

Running on Windows 7 64-bit.

Ken Herbert
Ken Herbert's picture
Online
Last seen: 35 min 21 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
Document directories are

Document directories are flagged as system folders to enable the custom icons. This would be your issue.

Use dir /a instead of just dir.

pcmedic
Offline
Last seen: 3 years 7 months ago
Joined: 2008-10-30 17:30
Thanks

That did it!

3D1T0R
3D1T0R's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2006-12-29 23:48
use "attrib" to remove System flag (and add ReadOnly flag)

On a command-line you can use attrib -S C:\Temp\PAS\Documents (and the same for PortableApps) to remove the System flag, this should make them visible to the DIR command without the /A parameter, however this will remove the custom icon from the folder, so if you'd like to keep the icon you can add the +R parameter along with -S.

Note: Despite the fact that attrib +R will set the ReadOnly flag on the folder the contents will not be affected (will still be writable), unless you also add the /S parameter (which enables recursive processing of the command).

Note-2: In the future the Platform Installer may set the custom icons this way by default.

~3D1T0R

Log in or register to post comments