ANN: Classic Shell - start menu and other features

Page 18 of 19 FirstFirst ... 816171819 LastLast

  1. Ivo
    Posts : 398
    Windows 7 Home 64, Vista Ultimate 64
    Thread Starter
       #171

    Well, you need to change how Delete.vbs works. Instead of getting the name of the selected file it now gets the name of a text file with the list of selecte files. It has to read that file, parse each line, and delete each one. Then delete the text file.

    Look at the help for examples.
      My Computer


  2. Posts : 52
    Windows 7 Ultimate x64
       #172

    I dont have programing skills, so probably not much I can do here by my self

    Interesting just why it works with %1 from context menu wscript @="wscript G:\\....\\Delete.vbs \"%1\" " but dont from Classic Shell wscript.exe G:\...\Delete.vbs "%1" Basically command is the same...
      My Computer


  3. Ivo
    Posts : 398
    Windows 7 Home 64, Vista Ultimate 64
    Thread Starter
       #173

    Probably because the context menu runs Delete.vbs separately for each selected file. Classic Shell doesn't. It only runs Delete.vbs once and gives it a list of files.
    Since you don't know how to modify Delete.vbs, why not just hold down Shift when pressing the Delete button?
      My Computer


  4. Posts : 52
    Windows 7 Ultimate x64
       #174

    Because I would do it without touching keyboard, just single click with mouse. Why you have created Classic Shell > Classic Explorer? Its possible to do with keyboard all commands and without it, but with Classic Explorer its much easier. To do more, by clicking-typing less. Thats the way!
      My Computer


  5. Ivo
    Posts : 398
    Windows 7 Home 64, Vista Ultimate 64
    Thread Starter
       #175

    Well, some coding is required, either in VBS or BAT. You can start from example #3 in the help. Replace the copy command with delete and you'll get what you need.
      My Computer


  6. Posts : 52
    Windows 7 Ultimate x64
       #176

    Help you mean here? SourceForge.net: Classic Shell: Help Where exactly is located example #3?
      My Computer


  7. Ivo
    Posts : 398
    Windows 7 Home 64, Vista Ultimate 64
    Thread Starter
       #177

    I mean in the Help file - you can find it in Programs -> Classic Shell, or by clicking on the Help link in the Settings dialog. Doesn't nobody RTFM anymore?
      My Computer


  8. Posts : 52
    Windows 7 Ultimate x64
       #178

    Thanks IVO, but

    for /F "delims=" %%i in (%1) do delete /Y "%%i" ..
    delete "%1"

    .bat - G:\....\DeleteOK.bat "%3"
    .vbs - wscript.exe G:\....\DeleteOK.vbs "%3"

    not working
      My Computer


  9. Ivo
    Posts : 398
    Windows 7 Home 64, Vista Ultimate 64
    Thread Starter
       #179

    hm, ok.
    First, it's not "delete", but just "del". That's my mistake.
    Second, you should do:
    for /F "delims=" %%i in (%1) do del "%%i"
    del "%1"

    And third, I don't understand what your last two lines mean. You should put the above text into DeleteOK.bat, and call it from your custom button with G:\....\DeleteOK.bat "%3"
    There is no VBS involved at all.
      My Computer


  10. Posts : 52
    Windows 7 Ultimate x64
       #180

    for /F "delims=" %%i in (%1) do del "%%i"
    del "%1"

    G:\Tomas\Backup\Commands\Delete\DeleteOK.bat "%3"

    Not working
      My Computer


 
Page 18 of 19 FirstFirst ... 816171819 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:43.
Find Us