Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows XP > Windows XP WMI

Notices

Reply

need to automatically generate a listing of cached offline files

 

LinkBack Thread Tools Display Modes
Old 12-12-2007, 09:54 PM   #1 (permalink)
Default Re: need to automatically generate a listing of cached offline files

I'm really bummed not to have any responses on this. Has no one used
this provider?

Thanks!

-Roy

On Dec 7, 11:42 am, RoyPardee <rpar...@gmail.com> wrote:
Quote:
> Hey All,
>
> I'd like to write a script that spits out a list of the network files
> I have cached on my laptop via offline files, so I can account for any
> data loss if it ever went missing. I'm thinking I'd run this
> periodically while connected to the network. Can anybody point me at
> tools and/or code I can use to get this done?
>
> Here's what I have already turned up in some googling:
>
> - there is a reskit tool called csccmd that at one point took an /enum
> flag, which I think would produce the list I want, but the version I
> downloaded does not seem to support this flag.
> - there is a WMI provider (documented here:http://msdn2.microsoft.com/en-us/library/bb309180.aspx) that seems to
> offer a programmatic way to get at the offline files cache, but I
> haven't been able to make that work (I have been unable to find sample
> code that exercises that provider).
>
> Thanks very much!
>
> -Roy
RoyPardee
Guest
 
Posts: n/a
Reply With Quote  
Old 12-18-2007, 03:25 PM   #2 (permalink)
Default Re: need to automatically generate a listing of cached offline files

The WMI classes require Vista so that's a potentially show-stopper. I think
the problem is that there has never been any mechanism for this, although
you'd think there should be. On your C: drive, I think under Windows or
System there is a folder called CSC or something like that. Probably
hidden. That is the cached files. I just don't remember if you see the
actual file names.

--
Jeffery Hicks
Microsoft PowerShell MVP
http://www.scriptinganswers.com
http://www.powershellcommunity.org

Now Available: WSH and VBScript Core: TFM
Coming Soon: Windows PowerShell: TFM 2nd Ed.

"RoyPardee" <rpardee@gmail.com> wrote in message
news:543d77cb-b591-4f0d-9589-c838a7cd7c24@l1g2000hsa.googlegroups.com...
Quote:
> I'm really bummed not to have any responses on this. Has no one used
> this provider?
>
> Thanks!
>
> -Roy
>
> On Dec 7, 11:42 am, RoyPardee <rpar...@gmail.com> wrote:
Quote:
>> Hey All,
>>
>> I'd like to write a script that spits out a list of the network files
>> I have cached on my laptop via offline files, so I can account for any
>> data loss if it ever went missing. I'm thinking I'd run this
>> periodically while connected to the network. Can anybody point me at
>> tools and/or code I can use to get this done?
>>
>> Here's what I have already turned up in some googling:
>>
>> - there is a reskit tool called csccmd that at one point took an /enum
>> flag, which I think would produce the list I want, but the version I
>> downloaded does not seem to support this flag.
>> - there is a WMI provider (documented
>> here:http://msdn2.microsoft.com/en-us/library/bb309180.aspx) that seems
>> to
>> offer a programmatic way to get at the offline files cache, but I
>> haven't been able to make that work (I have been unable to find sample
>> code that exercises that provider).
>>
>> Thanks very much!
>>
>> -Roy
>
Jeffery Hicks [MVP]
Guest
 
Posts: n/a
Reply With Quote  
Old 12-21-2007, 04:02 PM   #3 (permalink)
Default Re: need to automatically generate a listing of cached offline files

Ooooh--okay. Yeah, definite show-stopper for me--I'm on XP here.
Feh.

I'm hip to the csc directory--but the filenames are not shown,
unfortunately. :-(

Thanks much for the response.

On Dec 18, 8:25 am, "Jeffery Hicks [MVP]" <jhi...@sapien.com> wrote:
Quote:
> The WMI classes require Vista so that's a potentially show-stopper. I think
> the problem is that there has never been any mechanism for this, although
> you'd think there should be. On your C: drive, I think under Windows or
> System there is a folder called CSC or something like that. Probably
> hidden. That is the cached files. I just don't remember if you see the
> actual file names.
>
> --
> Jeffery Hicks
> Microsoft PowerShell MVPhttp://www.scriptinganswers.comhttp://www.powershellcommunity.org
>
> Now Available: WSH and VBScript Core: TFM
> Coming Soon: Windows PowerShell: TFM 2nd Ed.
>
> "RoyPardee" <rpar...@gmail.com> wrote in message
>
> news:543d77cb-b591-4f0d-9589-c838a7cd7c24@l1g2000hsa.googlegroups.com...
>
Quote:
> > I'm really bummed not to have any responses on this. Has no one used
> > this provider?
>
Quote:
> > Thanks!
>
Quote:
> > -Roy
>
Quote:
> > On Dec 7, 11:42 am, RoyPardee <rpar...@gmail.com> wrote:
Quote:
> >> Hey All,
>
Quote:
Quote:
> >> I'd like to write a script that spits out a list of the network files
> >> I have cached on my laptop via offline files, so I can account for any
> >> data loss if it ever went missing. I'm thinking I'd run this
> >> periodically while connected to the network. Can anybody point me at
> >> tools and/or code I can use to get this done?
>
Quote:
Quote:
> >> Here's what I have already turned up in some googling:
>
Quote:
Quote:
> >> - there is a reskit tool called csccmd that at one point took an /enum
> >> flag, which I think would produce the list I want, but the version I
> >> downloaded does not seem to support this flag.
> >> - there is a WMI provider (documented
> >> here:http://msdn2.microsoft.com/en-us/library/bb309180.aspx) that seems
> >> to
> >> offer a programmatic way to get at the offline files cache, but I
> >> haven't been able to make that work (I have been unable to find sample
> >> code that exercises that provider).
>
Quote:
Quote:
> >> Thanks very much!
>
Quote:
Quote:
> >> -Roy
RoyPardee
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

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

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
When listing XP files the "Date modified" could be in the future th Windows Vista File Management 1 11-04-2006 09:20 AM
Listing folders/files vertically? keogh Windows Vista File Management 1 07-04-2006 04:33 PM
Offline Files continually go offline Joseph Windows XP Work Remotely 0 09-25-2003 08:52 PM
alphabetically listing of files Dave Windows XP Photos 0 09-20-2003 04:18 AM
Offline files - going offline unnecessarily Darin Dugan Windows XP Work Remotely 0 09-02-2003 05:10 PM


All times are GMT. The time now is 08:59 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

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