Solved

VSS: Renaming a file

Posted on 2001-07-05
11
182 Views
Last Modified: 2012-08-14
I couldnt find a forum for VSS so im posting it here.

I m using VSS 6.0. When I try to rename a file to small case or upper case, it fails. Dosent show any message also.

Any solution for this ?
0
Comment
Question by:ashishn
  • 4
  • 3
  • 3
  • +1
11 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 100 total points
ID: 6255392
i suppose your have a file <yourfilename.bas>
Rename the file to <x.bas>
and then to <YOURFILENAME.BAS>

CHeers
0
 

Author Comment

by:ashishn
ID: 6255422
You saved my day friend :)

U deserve 100 points for this
0
 
LVL 11

Expert Comment

by:Otana
ID: 6255429
Make sure you have no references anywhere left to that file, because otherwise the filename will be locked. Close all references, and try again.
0
 
LVL 7

Expert Comment

by:Inteqam
ID: 6255440
gr8 :o)
0
 
LVL 7

Expert Comment

by:Inteqam
ID: 6255447
this wont work if i want to rename a file named x.bas to X.BAS.

:o)
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:ashishn
ID: 6255461
You saved my day friend :)

U deserve 100 points for this
0
 
LVL 7

Expert Comment

by:Inteqam
ID: 6255468
ok , then accept his comment as an answer.
0
 

Author Comment

by:ashishn
ID: 6255480
You saved my day friend :)

U deserve 100 points for this
0
 

Author Comment

by:ashishn
ID: 6255488
thanks a lot
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 6255968
glad i could help.

integam, nice observation :-)
Cheers
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 6255974
PS: removing the file, and readding the file after doing the rename in the explorer should also work :-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now