1. Santosh Pawar
  2. PowerBuilder
  3. Monday, 12 June 2017 02:11 AM UTC

Hi,

I am creating new folder in C:\Users\ 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.

Richard Brooks Accepted Answer Pending Moderation
  1. Monday, 12 June 2017 15:07 PM UTC
  2. PowerBuilder
  3. # 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//

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Monday, 12 June 2017 13:47 PM UTC
  2. PowerBuilder
  3. # 2

Shouldn't it be:

CreateDirectory("C:\Users\\")

 

Comment
There are no comments made yet.
Chris Pollach Accepted Answer Pending Moderation
  1. Monday, 12 June 2017 12:31 PM UTC
  2. PowerBuilder
  3. # 3

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

 

Comment
  1. Chris Pollach
  2. Monday, 12 June 2017 12:42 PM UTC
PS: Also created a new Directories in "C:\Users\..." with no issues.

  1. Helpful
  1. Santosh Pawar
  2. Tuesday, 13 June 2017 09:58 AM UTC
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\

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.