Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista file management

READ AND WRITE FOLDER FOR EVERYBODY

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 02-12-2008   #1 (permalink)
davide77
Guest


 

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

My System SpecsSystem Spec
Old 02-12-2008   #2 (permalink)
Bob
Guest


 

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@xxxxxx> wrote in message
news:0cefea93-d614-4df6-8b7b-9d5ead03539e@xxxxxx
Quote:

> 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
My System SpecsSystem Spec
Old 02-12-2008   #3 (permalink)
Kerry Brown
Guest


 

Re: READ AND WRITE FOLDER FOR EVERYBODY

"davide77" <davide.friends@xxxxxx> wrote in message
news:0cefea93-d614-4df6-8b7b-9d5ead03539e@xxxxxx
Quote:

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



My System SpecsSystem Spec
Old 02-13-2008   #4 (permalink)
davide77
Guest


 

Re: READ AND WRITE FOLDER FOR EVERYBODY

On 12 Feb, 16:07, "Kerry Brown" <ke...@xxxxxx-tems.c*a*m> wrote:
Quote:

> "davide77" <davide.frie...@xxxxxx> wrote in message
>
> news:0cefea93-d614-4df6-8b7b-9d5ead03539e@xxxxxx
>
Quote:

> > 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
My System SpecsSystem Spec
Old 02-13-2008   #5 (permalink)
davide77
Guest


 

Re: READ AND WRITE FOLDER FOR EVERYBODY

On 13 Feb, 10:08, davide77 <davide.frie...@xxxxxx> wrote:
Quote:

> On 12 Feb, 16:07, "Kerry Brown" <ke...@xxxxxx-tems.c*a*m> wrote:
>
>
>
>
>
Quote:

> > "davide77" <davide.frie...@xxxxxx> wrote in message
>
Quote:

> >news:0cefea93-d614-4df6-8b7b-9d5ead03539e@xxxxxx
>
Quote:
Quote:

> > > 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
>
Quote:

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

> > --
> > 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
My System SpecsSystem Spec
Old 02-13-2008   #6 (permalink)
Kerry Brown
Guest


 

Re: READ AND WRITE FOLDER FOR EVERYBODY

"davide77" <davide.friends@xxxxxx> wrote in message
news:80d53682-3c7b-4754-9cb6-5ffad32997fd@xxxxxx
Quote:

> On 13 Feb, 10:08, davide77 <davide.frie...@xxxxxx> wrote:
Quote:

>> On 12 Feb, 16:07, "Kerry Brown" <ke...@xxxxxx-tems.c*a*m> wrote:
>>
>>
>>
>>
>>
Quote:

>> > "davide77" <davide.frie...@xxxxxx> wrote in message
>>
Quote:

>> >news:0cefea93-d614-4df6-8b7b-9d5ead03539e@xxxxxx
>>
Quote:

>> > > 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
>>
Quote:

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

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



My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
read/write permissions Surgery Vista account administration 0 03-04-2008 01:16 PM
Slow SD read and write cybergoobr Vista hardware & devices 2 02-17-2008 03:21 PM
DVD read/write errors Count Vista hardware & devices 0 10-24-2007 12:26 PM
Vista can write to DVD but won't read the one it just wrote Jason Vista hardware & devices 1 06-28-2007 05:30 PM
grant read/write permission for a folder Novice Vista General 3 03-15-2007 02:05 PM


Update your Vista Drivers Update Your Vista Drivers Now!!

Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008
Page generated in 0.30933 seconds with 10 queries