PRB: 'File not found' When Attempting Command Line Check In (158471)
The information in this article applies to:
- Microsoft Visual SourceSafe for Windows 5.0
- Microsoft Visual SourceSafe for Windows 6.0
- Microsoft Visual SourceSafe, 16-bit, for Windows 4.0
- Microsoft Visual SourceSafe, 32-bit, for Windows 4.0
- Microsoft Visual SourceSafe, 16-bit, for Windows 4.0a
- Microsoft Visual SourceSafe, 32-bit, for Windows 4.0a
This article was previously published under Q158471 SYMPTOMS
When you check in files from the Command Line, you may receive the message:
File "<filename>" not found
where <filename> is the name of the file you want to check in. This message
appears if the following four conditions exist: - You changed the working directory for the file prior to checking it out.
- You did not close the Visual SourceSafe Explorer after changing the
working directory.
- As indicated in your Ss.ini file, your current SourceSafe project is set
to the wrong project, not the project that you are attempting to check
it into. This setting is saved as:
; Your current SourceSafe project.
Project = <ProjectName>
- The FORCE_DIR entry in your Ss.ini file is set to NO.
CAUSE
When checking in a file, the Visual SourceSafe Command Line examines your
Ss.ini file to determine the working directory for a given project. When
you change the working directory in the Visual SourceSafe Explorer, the
change is cached in memory until the Visual SourceSafe Explorer is closed.
This means that the Ss.ini will not be updated until you close Visual
SourceSafe. Consequently, if you change a file's working directory and then
check it out, the Visual SourceSafe Explorer sees the updated working
directory but the Command Line does not.
RESOLUTION
- Check in the file using the Visual SourceSafe Explorer.
- If you change the working directory and intend to use any Command Line
functions, close and restart the Visual SourceSafe Explorer.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 5/4/2001 |
---|
Keywords: | kberrmsg kbprb KB158471 |
---|
|