Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Copy A File And Rename It With Increment If Exist


12 replies to this topic

#11 PatrickMc

    Newbie

  • Kontributors
  • Pip
  • 5 posts

Posted 13 August 2009 - 04:50 PM

Jayarama

The following commands in biterscripting will do just that.

cat "http : // bangmsrira1:8080 / SampleProject/Book1.Xls" > x.xls
system start x.xls

If the file does not exist, you will get an error. If the file exists, it will be opened in Excel. (I have had to add spaces in the URL so the forum won't format it further.)

Patrick

#12 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 11 January 2010 - 01:10 PM

VB renaming questionCopy A File And Rename It With Increment If ExistI was wondering if you could help me with a quick VB script, its been so long since I have done scripting I cant even do the basics now! I have a folder, in that folder there will be 10 files, with a number in them (0-9) I want to specify a new name for each file based on the number (so 0=black, 1=white etc)I need the script to check the original file name and rename it based on the original name. How would I do this? 

-question by lisa



#13 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 04 April 2010 - 01:16 PM

File RenameCopy A File And Rename It With Increment If Exist

Hi..

I Need  to Rename a Lot of Files in the Folders and Subfolders with the One Filed of Table in SQL (C# Windows Form Project).

Please HELP ME...

-reply by Mohammad Reza




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users