I would like to write a python script that would upload any file I select in Windows Explorer. The idea is to select any file in Windows Explorer, right-click to display fil
Instead of %1 use %*.
%1
%*
%1 will pass in the first argument, %* will pass all (%n will pass in the nth...)
%n
@echo off cls python C:\Your\File\uploadscript.py %*
Note that the command line has built in character limits 2047 for XP and prior, 8191 for windows 7 and later