Not able to see newly created folder in C:\Users\ using CreateDirectory function

1
0
-1

Hi,

I am creating new folder in C:\Users\<username> through PB code (Using CreateDirectory(C:\Users\ssp)), folder is creating but i am not able to see newly created folder, when i access that folder using path C:\Users\ssp then its opening but its hidden.

Eeven i  checked [Show hidden files, folders, and drives] property but still i am not able to see the folder.

This problem coming in only client PC/End Users PC, in my development machine  i am able to see newly created folder.

Please suggest on above issue.

Question Tags: 

Answers

Chris Pollach answered Not able to see newly created folder in C:\Users\ using CreateDirectory function

1
0
-1

Hi Santosh;

  I had no problem or issue like you describe in my quick test of using the CreateDirectory() method in my W10 O/S ...

  Can you tell us ...

1) PB Version & Build

2) Your O/S version & build

3) Was this App running from the IDE or an EXE?

4) If an EXE - was this P-Code or M-Code?

5) What account was the PB ODE / EXE running under?

6) If an EXE - was it running in ADMIN mode?

 

Regards ... Chris

 

Chris Pollach's picture

PS: Also created a new Directories in "C:\Users\..." with no issues.

Santosh Pawar's picture

Thank you Chris.. below are the few point which i am using for the application

1. PB Version is 12.5 & Build is 2511

2. OS : Windows 7 Enterprise SP1, few user using Windows 10 also. issue coming on both W7 & W10 as well.

3. App running from an EXE

4. Its PCode

5. Admin Account, EXE & all PBD files are kept in separate shared folder which is in Server. from that server all user taken shortcut of EXE on their desktop.

6. Yes its EXE running in admin mode and EXE running from shared folder which is kept in server. user having full permission to create the folder in C:\Users\<username>

Richard Brooks answered Not able to see newly created folder in C:\Users\ using CreateDirectory function

1
0
-1

Chris has a very good point. If you are using Windows 10 then you will find they have locked down the c:\users folder much tighter than previous versions. I have never had a problem programatically accessing them but the File Explorer has given me fits.

That's similar to what you just said... I think

//Rik//