A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Windows Vista File Management
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Windows Vista File Management Issues or questions in relation to Vista's file management. (microsoft.public.windows.vista.file_management)

READ AND WRITE FOLDER FOR EVERYBODY



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old February 12th 08, 10:07 AM posted to microsoft.public.windows.vista.file_management
davide77
external usenet poster
 
Posts: 3
Default READ AND WRITE FOLDER FOR EVERYBODY

Hi,
I'm building a VB application with installer.
Well I want that after the administrator installation it creates a
files and folders and if I run that application logged as user I dont
want that vista copies my files to VirtualStore folder...I want the
same path where all the users can write.
I just used the path c:\ProgramData\MySoftware\... but it doesnt
work...VISTA creates another folder under VirtualStore folder.
Thank u in advance,
Davide
  #2 (permalink)  
Old February 12th 08, 01:00 PM posted to microsoft.public.windows.vista.file_management
Bob
external usenet poster
 
Posts: 1,706
Default READ AND WRITE FOLDER FOR EVERYBODY

Try this.
Open an administrator command prompt and navigate to the folder. Type
attrib -r *.* and press Enter.

Or open an administrator command prompt. Type [path] attrib -r *.* and press
Enter.

"davide77" wrote in message
...
Hi,
I'm building a VB application with installer.
Well I want that after the administrator installation it creates a
files and folders and if I run that application logged as user I dont
want that vista copies my files to VirtualStore folder...I want the
same path where all the users can write.
I just used the path c:\ProgramData\MySoftware\... but it doesnt
work...VISTA creates another folder under VirtualStore folder.
Thank u in advance,
Davide


  #3 (permalink)  
Old February 12th 08, 02:07 PM posted to microsoft.public.windows.vista.file_management
Kerry Brown
external usenet poster
 
Posts: 2,887
Default READ AND WRITE FOLDER FOR EVERYBODY

"davide77" wrote in message
...
Hi,
I'm building a VB application with installer.
Well I want that after the administrator installation it creates a
files and folders and if I run that application logged as user I dont
want that vista copies my files to VirtualStore folder...I want the
same path where all the users can write.
I just used the path c:\ProgramData\MySoftware\... but it doesnt
work...VISTA creates another folder under VirtualStore folder.
Thank u in advance,
Davide



These links may help. You shouldn't be storing data in system folders.

http://blogs.msdn.com/cjacks/archive...ram-files.aspx

http://msdn2.microsoft.com/en-ca/win...a/default.aspx

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca/phpBB2/



  #4 (permalink)  
Old February 13th 08, 08:08 AM posted to microsoft.public.windows.vista.file_management
davide77
external usenet poster
 
Posts: 3
Default READ AND WRITE FOLDER FOR EVERYBODY

On 12 Feb, 16:07, "Kerry Brown" *a*m wrote:
"davide77" wrote in message

...

Hi,
I'm building a VB application with installer.
Well I want that after the administrator installation it creates a
files and folders and if I run that application logged as user I dont
want that vista copies my files to VirtualStore folder...I want the
same path where all the users can write.
I just used the path c:\ProgramData\MySoftware\... but it doesnt
work...VISTA creates another folder under VirtualStore folder.
Thank u in advance,
Davide


These links may help. You shouldn't be storing data in system folders.

http://blogs.msdn.com/cjacks/archive...hould-i-write-...

http://msdn2.microsoft.com/en-ca/win...a/default.aspx

--
Kerry Brown
Microsoft MVP - Shell/Userhttp://www.vistahelp.ca/phpBB2/


Well I tried to write my files and folders in this special folder C:
\Users\Public\Documents and it works fine...all users can write
there!!
But I want to put my files and folders into another folder not so
visible as C:\Users\Public\Documents...so people doesnt risk to delete
my files and folders.
Thank u
davide
  #5 (permalink)  
Old February 13th 08, 09:35 AM posted to microsoft.public.windows.vista.file_management
davide77
external usenet poster
 
Posts: 3
Default READ AND WRITE FOLDER FOR EVERYBODY

On 13 Feb, 10:08, davide77 wrote:
On 12 Feb, 16:07, "Kerry Brown" *a*m wrote:





"davide77" wrote in message


...


Hi,
I'm building a VB application with installer.
Well I want that after the administrator installation it creates a
files and folders and if I run that application logged as user I dont
want that vista copies my files to VirtualStore folder...I want the
same path where all the users can write.
I just used the path c:\ProgramData\MySoftware\... but it doesnt
work...VISTA creates another folder under VirtualStore folder.
Thank u in advance,
Davide


These links may help. You shouldn't be storing data in system folders.


http://blogs.msdn.com/cjacks/archive...hould-i-write-...


http://msdn2.microsoft.com/en-ca/win...a/default.aspx


--
Kerry Brown
Microsoft MVP - Shell/Userhttp://www.vistahelp.ca/phpBB2/


Well I tried to write my files and folders in this special folder C:
\Users\Public\Documents and it works fine...all users can write
there!!
But I want to put my files and folders into another folder not so
visible as C:\Users\Public\Documents...so people doesnt risk to delete
my files and folders.
Thank u
davide- Nascondi testo tra virgolette -

- Mostra testo tra virgolette -


first time I launch my software it copies(with FileCopy function) some
files and folders into ProgramData (the special folder
CSIDL_APPDATA)and well if I launch my application second time logged
as other user VISTA copies it in VIRTUALSTORE directory of the user
who launched the application...I think I have a problem with
priviligies.
how to set privileges for all users at runtime?
thank u in advance,
davide
  #6 (permalink)  
Old February 13th 08, 01:42 PM posted to microsoft.public.windows.vista.file_management
Kerry Brown
external usenet poster
 
Posts: 2,887
Default READ AND WRITE FOLDER FOR EVERYBODY

"davide77" wrote in message
...
On 13 Feb, 10:08, davide77 wrote:
On 12 Feb, 16:07, "Kerry Brown" *a*m wrote:





"davide77" wrote in message


...


Hi,
I'm building a VB application with installer.
Well I want that after the administrator installation it creates a
files and folders and if I run that application logged as user I dont
want that vista copies my files to VirtualStore folder...I want the
same path where all the users can write.
I just used the path c:\ProgramData\MySoftware\... but it doesnt
work...VISTA creates another folder under VirtualStore folder.
Thank u in advance,
Davide


These links may help. You shouldn't be storing data in system folders.


http://blogs.msdn.com/cjacks/archive...hould-i-write-...


http://msdn2.microsoft.com/en-ca/win...a/default.aspx


--
Kerry Brown
Microsoft MVP - Shell/Userhttp://www.vistahelp.ca/phpBB2/


Well I tried to write my files and folders in this special folder C:
\Users\Public\Documents and it works fine...all users can write
there!!
But I want to put my files and folders into another folder not so
visible as C:\Users\Public\Documents...so people doesnt risk to delete
my files and folders.
Thank u
davide- Nascondi testo tra virgolette -

- Mostra testo tra virgolette -


first time I launch my software it copies(with FileCopy function) some
files and folders into ProgramData (the special folder
CSIDL_APPDATA)and well if I launch my application second time logged
as other user VISTA copies it in VIRTUALSTORE directory of the user
who launched the application...I think I have a problem with
priviligies.
how to set privileges for all users at runtime?



You should ask these questions in a programming forum.

http://msdn2.microsoft.com/en-us/win.../aa905020.aspx

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca/phpBB2/



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.