Windows 8 and 8.1 Forums

DOS Command Line

  1. #1

    Posts : 30
    Win 8.1

    DOS Command Line

    Hi there-

    Just reorganising my Library and for reasons I won't bore you with, need to do some mass amendments to Filenames to get rid of extraneous Info as I'm tight on Space.

    So, for instance, I have a Folder (DIRectory) with one hundred PDF, Mobi, RAR, ZIP, CBR and CBZ files in it all with filenames in the following format :-

    Henry Rider Haggard (Victorian Novelist, Africa Hand) [Title of Short Story/Novel/Graphic Novel].???

    As :-

    a) I do happen to know who H Rider Haggard is (having read my first book of his 55 years ago when I was Ten)
    b) All the Files are going to go into a Directory (Folder) Entitled "Henry Rider Haggard" (in case I suddenly get struck down with Oldtimer's disease)

    then I want to get rid of the words "Henry Rider Haggard (Victorian Novelist, Africa Hand)" which is common to every Filename.

    My latest attempt at a Command Line blanket change from within the Folder (Directory) was the DOS command -

    REN "Henry Rider Haggard (Victorian Novelist, Africa Hand)"*.??? *.???

    I have also tried :-

    Using the different extensions (.CBR .ZIP .RAR etc ) to change them 20 or 30 at a time
    Using the same Format but *.* instead of *.???
    Using no Inverted Commas on the part of the Description that I want to get rid of

    Yes, I DO realise that in the time I have spent fiddling about with Command Line and composing this Post I COULD have done the whole thing Manually, BUT I have Sixty Five separate Authors to create Directories (Folders) for with about Five to 100 or so Short Stories/Novels etc. to change in exactly the same way (Many Titles will have entries in RAR, Mobi, PDF, CBR and CBZ formats so someone like Herbert George Wells has 135 individual Titles with over 850 separate Files.

    "Have you no Sons and Daughters" I hear you say. "They would only be too pleased to take this onerous task off your aged and care burdened shoulders in the Twilight of your ears, repaying in some small measure the Years of Toil that you have endured on their behalf."

    Al I can say to such a Naieve and disingenuous suggestion is "HA", "HA" and THRICE more "HA".

    a) My Daughter, who is now 35, is WAY past the age of falling for a pound's worth of Choccies and a good book to perform these tasks for me

    b) pretending to be THRILLED at the prospect of such a mind bendingly boring job in order to make her plead to help me only ever worked for Tom Sawyer

    c) the Moral Blackmail, once extremely effective, became unusable due to over use many years ago. The days are LONG gone when I could happily rely on getting these little chores done with phrases like :-

    "Don't you LOVE your poor Daddy, then, Bethan"


    "You wouldn't like to see Daddy CRY, would you, darling"

    and the ultimate

    "I just wanted you to know that I've left everything to you in my Will. It's in that draw in the kitchen - just in case something happens to me. Sudden like. and I don't get a chance to say Goodbye"

    So I've got to do it myself - with your help, of course.

    After all, you wouldn't like to see an Old Man cry, would you...............


      My System SpecsSystem Spec

  2. #2

    Central IL
    Posts : 3,468
    Linux Mint 17.2

    There is no such thing as Dos. Dos went the way of the Dodo bird, after 98 died. You have a Command window, that you can do certain things in. But what you are wanting to do, I am lost. It sounds like you are telling a story, not asking a question.

    If you want to change a file name, you do it from Explorer in the Desktop. If you want to edit a file, you do it from what ever program was used to create the file.
      My System SpecsSystem Spec

  3. #3

    Welcome to the forum.

    Please post your question without the extraneous details.
      My System SpecsSystem Spec

  4. #4

    United States
    Posts : 3,093
    Windows 8.1 Pro 64-bit

    Is this spam with a story?
      My System SpecsSystem Spec

  5. #5

    Posts : 328
    Windows 8.1 (x64)

    Hmm... I got a bit lost reading your post, but from what I gather you want to batch rename a bunch of files.
    While you might be able to do that using DOS command and maybe a .bat file, you're probably better off using powershell.

    Here are a few links that might interest you :
    Use PowerShell to Rename Files in Bulk - Hey, Scripting Guy! Blog - Site Home - TechNet Blogs
    Batch File Rename with Windows PowerShell
    Renaming Files - Windows PowerShell Blog - Site Home - MSDN Blogs

    If you only want to organize your collection of ebooks, you should take a look at : calibre - E-book management
    This is a free open-source software. It will automatically import all your ebooks (most format are supported, although I'm not sure about your .cbr/.cbz comics files), and then copy them in its libraries. Metadata like title/author/date of release/genre/etc... will be retrieved from the files, but you can edit/add them later on. This software should ease the organization of your collection much more than what you're trying to do.
    It also includes an ebook reader, and can convert to most formats too. I assume the RAR/ZIP files contain ebooks in HTML format, Calibre will be able to convert them to epub, which is an already compressed (using zip compression) ebook format, which you can then directly open with the reader.
      My System SpecsSystem Spec

  6. #6

    Posts : 30
    Win 8.1

    What do you mean there is no such thing as DOS ?

    I was under the impression that DOS commands are still used in command prompt windows.

      My System SpecsSystem Spec

  7. #7

    Posts : 30
    Win 8.1

    Yes sir.
    Extraneous detail removal being effected as I speak.
      My System SpecsSystem Spec

  8. #8

    Posts : 30
    Win 8.1

    Indeed not Popeye. Merely unwelcome extraneous detail

      My System SpecsSystem Spec

  9. #9

    San Jose - California
    Posts : 2,846
    8.1x64PWMC Ubuntu14.04x64 MintMate17x64

    Base on what you want to get done. Instead of using tedious DOS commands, you can download a free ware from the link below:
    Bulk Rename Utility

    Hope this helps !!!
      My System SpecsSystem Spec

  10. #10

    This: ReNamer - Download I use for many years now and is very versatile and fast. Can even do conversion capital <>small letters hash removal, numbering etc.
      My System SpecsSystem Spec

Page 1 of 5 123 ... LastLast
DOS Command Line

Similar Threads
Thread Forum
Chocolatey - Install Apps from Command Line
How to Use Chocolatey Package Manager to Install Desktop Apps in Windows (Quote from Package manager - Wikipedia, the free encyclopedia.) Linux users know the package manager apt-get which installs for instance Google Chrome browser to Ubuntu with a simple command sudo apt-get install...
CyberGhost Command Line Interface Help Request
Hello all, After taking some time to learn about CyberGhost, I finally took the plunge last year & bought a subscription. I'm happy with the service but, recently I've decided to use it in a more productive fashion. I'd like to set scripts for command line functionality. According to...
Chillout Room
Command line Powercfg problem
Hi! My apologies if this is the wrong forum to post in, but it seemed like the best fit. So I'm trying to get a bat file together with power settings that I want to apply. But I'm running into an issue. For some reason, the power button and lid close actions wont change. Here is the relevant...
Command Line Reference for Windows 8 and 8.1
Command Line Reference for Windows 8 and 8.1 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands at the command prompt, you can perform tasks on your computer without using the Windows graphical interface. This tutorial will...
New Command line youtube player
New Command Line YouTube Player And Downloader With Local Playlists Support: mps-youtube ~ Web Upd8: Ubuntu / Linux blog
Chillout Room
Run IE Compatability Mode though A Command Line
Hello, I Have Installed a Web App That Support IE7 Only, Means It display Bad on IE8,9,10. So I would like to know if There is a Command Line to Attach it to the IE Shortcut that Open the Web App in IE7 Computability mode, I'm Desperate to know a solution. Note: I'm Using Windows8 Pro with IE...
Browsers & Mail
“File Explorer” Target Command Line??
I see that “Windows Explorer” has been replaced by “File Explorer”. I don’t see much difference, but I would like to have it open with the C: drive expanded in the left pane and folders shown in the right pane. Any update on the target command line to do that? I’ve tried… ...

Eight Forums Android App Eight Forums IOS App Follow us on Facebook