Results 1 to 3 of 3

Thread: A Simple File and Folder renaming batch code : RenameR

  1. #1
    Join Date
    Jan 2009
    Posts
    1,738

    A Simple File and Folder renaming batch code : RenameR

    Hey guys!
    Here is a short and simple code to create a batch program for renaming files. 'RenameR' is what i call it...


    Code:
    @ECHO OFF
    echo Enter Name of the File/Folder To Rename [File name with extension]:
    SET /P variable=
    echo Enter Name of the New File/Folder [File name with extension]:
    SET /P variable1=
    REN %variable% %variable1%
    exit

  2. #2
    Join Date
    May 2008
    Posts
    1,205

    Re: A Simple File and Folder renaming batch code : RenameR

    great work dude. but can u provide me any assistance for copying the batch file

  3. #3
    Join Date
    Jan 2009
    Posts
    1,738

    Re: A Simple File and Folder renaming batch code : RenameR

    Hey!
    Thats simple, Heres the code :

    Code:
    @ECHO OFF
    echo Enter source File Path [File name with extension]:
    SET /P variable=
    echo Enter Destination File Path [File name with extension]:
    SET /P variable1=
    copy %variable% %variable1%
    exit

Similar Threads

  1. How to make a simple Sorting batch file?
    By nadeth in forum Software Development
    Replies: 3
    Last Post: 18-01-2012, 06:13 AM
  2. Create a simple IP Tool Batch File.
    By Bracken in forum Software Development
    Replies: 12
    Last Post: 11-12-2011, 05:33 PM
  3. Deleting and renaming files using Batch file on Windows 7 x64
    By Aerona in forum Windows x64 Edition
    Replies: 2
    Last Post: 17-05-2011, 11:51 AM
  4. Replies: 1
    Last Post: 05-02-2009, 02:34 PM
  5. Replies: 3
    Last Post: 30-01-2008, 02:38 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,707,042.45409 seconds with 16 queries