«КАМТЕC» - профессиональное обучение компьютерным специальностям

среда, 14 октября 2009 г.

Offline Files in Windows XP, Vista and Windows 7

данная статья стащена с блога:
http://offlinefiles.windowstipspage.com/2008/05/csccmdexe-offline-files.html


CSCCMD.exe is an useful tool to configure and control CSC operation. Various options available with this command are described below.

To check if CSC is enabled from the command line run the following command

csccmd.exe /ISCSCENABLED

To enable CSC from the command line
csccmd.exe /ENABLE

To disable CSC from the command line
csccmd.exe /DISABLE

To get the list of files/folders marked for offline availability
csccmd.exe /RESID

To examine CSC cache folder and report if there are any errors in the cache.
csccmd.exe /CHECKDB

To display the folders in the local cache that are from \\server\share\path :
csccmd.exe /ENUM[:\\server\share\path]

To pin a file/folder for offline availability:
csccmd.exe /PIN:<\\server\share\path
Note that this will not bring the file to local cache folder. For that we need to run the below fill command
csccmd.exe /FILL:\\server\share\path

To unpin a folder/file:
csccmd.exe /UNPIN:\\server\share\path

To delete a folder from CSC cache:
csccmd.exe /DELETE:\\server\share\path

To check if server is offline:
csccmd.exe /ISSERVEROFFLINE:\\server

To disconnect a share from client side cache:
csccmd.exe /DISCONNECT:\\server\share
Once we disconnect the share, CSC will not try to synchronize the share. The share will be reconnected only when the user does manual synchronization by right clicking the share and then selectin synchronize.


Use the following command when the share is moved from one server to another server. Before running this command we need to ensure that the share is copied to the server.

csccmd.exe /MOVESHARE:\\oldserver\oldshare \\newserver\newshare

This updates the local cache tables with the new server location, so that CSC will try to synchronize the files from the new server.


To extract a file/folder from the local cache
csccmd.exe /EXTRACT:\\server\share\path /TARGET:Path
TARGET specifies the destination folder.

To set the size limit for the temporarily cached files:
csccmd.exe /SETSPACE:space-in-bytes

Комментариев нет: