473,395 Members | 1,443 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

dos command for automatic caching (windows 2000)

im writing a automated batch script in windows 2000 and i want to set automatic caching on a folder after i apply shares to it using rtmshare.exe. i have done it before but i can't remember how... is there something in the reskit to help me out or some command im missing?
May 24 '07 #1
2 1421
im writing a automated batch script in windows 2000 and i want to set automatic caching on a folder after i apply shares to it using rtmshare.exe. i have done it before but i can't remember how... is there something in the reskit to help me out or some command im missing?
it was easier than i thought... the syntax is:

(for XP)
Expand|Select|Wrap|Line Numbers
  1. NET SHARE sharename /CACHE:Documents
(for 2000)
Expand|Select|Wrap|Line Numbers
  1. NET SHARE sharename /CACHE:Automatic
May 25 '07 #2
bartonc
6,596 Expert 4TB
it was easier than i thought... the syntax is:

(for XP)
Expand|Select|Wrap|Line Numbers
  1. NET SHARE sharename /CACHE:Documents
(for 2000)
Expand|Select|Wrap|Line Numbers
  1. NET SHARE sharename /CACHE:Automatic
Thank you for sharing your solution with us. It really helps others when members post back like this.

Hope to hear from you again,
Barton
May 26 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Christian Long | last post by:
Hi I'm trying to pipe data into a python program on Windows 2000, on the command line. Like this: dir | myProgram.py Here's what I tried:
5
by: Eric Chong | last post by:
I created a Windows Service in C# that requires to get passed command arguments like a Console App. I noticed that there is an option "Start parameters" text box in the property of a Windows...
1
by: Matthew Ferri | last post by:
I'm using Windows 2000 Pro SP4 and Office 2000 Pro Sp3. I have some dynamic database pages that I do not want a user to see from their local cache of pervious visits to this page. When these...
0
by: Tom Dacon | last post by:
"Open .Net Command Window Here" context menu for Windows Explorer: The reg file described below adds a new menu item to Windows Explorer's context menu when you right-click over a folder (or the...
0
by: Jill | last post by:
I found out that one of my other windows with asp enabled hosting companies does not have this problem. I talked with the tech and they said they do have the asp pages caching enabled. I walked...
0
by: Steven Spits | last post by:
Hi group, The first visit to a newly created aspx page is always slow since it has to be compiled once. Sequential visits are much faster. We've tested our .NET webapp on two different...
8
by: Nick Gilbert | last post by:
Hi, Our development web server (Win 2003 Server) seems to be caching the output of various files (CSS and .aspx files) if they have no query string. The moment you put a question mark in the...
2
by: George1776 | last post by:
All, I've recently upgraded our production ASP.NET/C# application from framework 1.1 to 2.0. Since then I've been plagued by out-of-memory errors and problems with the cache object (which may...
0
by: =?Utf-8?B?R2FicmllbA==?= | last post by:
Hello, we have an asp.net application using web.caching and we encountered some problems. On the development station the cache is working perfectly, but the same web application (with exactly the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.