Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download - Clean, repair and optimize your system



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

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

Driver Scanner 2009 - Free Scan Now

READ AND WRITE FOLDER FOR EVERYBODY

microsoft.public.windows.vista.file management




Recommended Fix - Fix Vista Errors and Optimize Performance

Click On Your Flag for Translation
Simplified Chinese French Spanish Italian Portugeuse Japanese German Dutch
Driver Scanner 2009 - Free Scan Now
Reply
  #1 (permalink)  
Old 02-12-2008
davide77
 

Posts: n/a
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-12-2008
Bob
 

Posts: n/a
Re: 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" <davide.friends@gmail.com> wrote in message
news:0cefea93-d614-4df6-8b7b-9d5ead03539e@c23g2000hsa.googlegroups.com...
> 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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-12-2008
Kerry Brown
 

Posts: n/a
Re: READ AND WRITE FOLDER FOR EVERYBODY
"davide77" <davide.friends@gmail.com> wrote in message
news:0cefea93-d614-4df6-8b7b-9d5ead03539e@c23g2000hsa.googlegroups.com...
> 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/



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-13-2008
davide77
 

Posts: n/a
Re: READ AND WRITE FOLDER FOR EVERYBODY
On 12 Feb, 16:07, "Kerry Brown" <ke...@kdbNOSPAMsys-tems.c*a*m> wrote:
> "davide77" <davide.frie...@gmail.com> wrote in message
>
> news:0cefea93-d614-4df6-8b7b-9d5ead03539e@c23g2000hsa.googlegroups.com...
>
> > 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-13-2008
davide77
 

Posts: n/a
Re: READ AND WRITE FOLDER FOR EVERYBODY
On 13 Feb, 10:08, davide77 <davide.frie...@gmail.com> wrote:
> On 12 Feb, 16:07, "Kerry Brown" <ke...@kdbNOSPAMsys-tems.c*a*m> wrote:
>
>
>
>
>
> > "davide77" <davide.frie...@gmail.com> wrote in message

>
> >news:0cefea93-d614-4df6-8b7b-9d5ead03539e@c23g2000hsa.googlegroups.com...

>
> > > 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-13-2008
Kerry Brown
 

Posts: n/a
Re: READ AND WRITE FOLDER FOR EVERYBODY
"davide77" <davide.friends@gmail.com> wrote in message
news:80d53682-3c7b-4754-9cb6-5ffad32997fd@e23g2000prf.googlegroups.com...
> On 13 Feb, 10:08, davide77 <davide.frie...@gmail.com> wrote:
>> On 12 Feb, 16:07, "Kerry Brown" <ke...@kdbNOSPAMsys-tems.c*a*m> wrote:
>>
>>
>>
>>
>>
>> > "davide77" <davide.frie...@gmail.com> wrote in message

>>
>> >news:0cefea93-d614-4df6-8b7b-9d5ead03539e@c23g2000hsa.googlegroups.com...

>>
>> > > 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/



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
read-only contacts unwilling to switch to read-write rhett.mtg@gmail.com microsoft.public.windows.vista.mail 1 12-15-2007 21:23
DVD read/write errors Count microsoft.public.windows.vista hardware devices 0 10-24-2007 18:26
Vista can write to DVD but won't read the one it just wrote Jason microsoft.public.windows.vista hardware devices 1 06-28-2007 23:30
grant read/write permission for a folder =?Utf-8?B?Tm92aWNl?= microsoft.public.windows.vista.general 3 03-15-2007 20:05
Registry Read/Write Security/Permissions =?Utf-8?B?YWxhbg==?= microsoft.public.windows.vista.general 0 03-13-2007 21:10




All times are GMT +1. The time now is 23:13.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com and Win7Heads.com.


Funny Commercials to make you laugh :-)

Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119