BATCH: get folder path when calling the script from context menu

Home Forums Scripting General Scripting BATCH: get folder path when calling the script from context menu

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    jon80
    Member
    #155475

    I would like to create an option within the context menu of Windows, that runs a batch script which runs the following file just within the directory that I am browsing from, say windows explorer.


    @echo
    off
    cd %current directory%
    del *.class > delete.log

    It would be nice if I could log delete.log to another directory, for example, C:Program Filescustom sript log files.

    Any idea how to script it?
    :mrgreen:

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.