Hi guys, Im having problem to open and print in notepad using batch command if i using variable the scenario is My first batch is runnig which is.. "for %%x in ("c:\temp\ A \"*.txt) do start /wait notepad /P %%x" comment---it will print all the textfile inside the A folder..fine-...