Drag and Drop Function
Posted: 22 Aug 2014 11:25
Hi there guys will it be possibele to add a drag and drop function to these codes, the fname do changes frequently to script have a syntax of "script.py -e fname"
The Code doesn't work because the syntax is error..
I echo "%*" it display the drive ex. H:\fname
script.py -e %* = script.py -e H:\fname
In order to work the syntax should be "script.py -e fname"
Thank you
Code: Select all
@echo off
IF ["%1"] EQU [""] GOTO :eof
CD "%~dp0"
script.py -e %*
The Code doesn't work because the syntax is error..
I echo "%*" it display the drive ex. H:\fname
script.py -e %* = script.py -e H:\fname
In order to work the syntax should be "script.py -e fname"
Thank you