mhy3sx Posted January 4 Share Posted January 4 Hi and happy new year to all. I use some Image menus with slides. I update them from time to time and all the times I have to write again and again in the cmd this commads incase to create the list of the slides. cd /d C:\menu\lines\dir *.sld /b > mylist C:\menu\lines\slidelib lines < mylist I try to convert them to a *.bat to do all the job automatic but is not working. Can any one Help? @echo off cd /d C:\menu\lines dir *.sld /b > mylist slidelib lines < mylist Thanks Quote Link to comment Share on other sites More sharing options...
BIGAL Posted January 4 Share Posted January 4 You may need to add path to slidelib , what you have matches the instructions. Quote Link to comment Share on other sites More sharing options...
mhy3sx Posted January 5 Author Share Posted January 5 Hi BIGAL. The slidelib is allready in lines folder. I don''t Know why is not working !!!! Thanks Quote Link to comment Share on other sites More sharing options...
mhy3sx Posted January 6 Author Share Posted January 6 I try this but is not working @echo off cd /d C:\menu\lines dir *.sld /b > mylist C:\menu\lines\slidelib.exe lines < mylist Quote Link to comment Share on other sites More sharing options...
BIGAL Posted January 7 Share Posted January 7 Worked for me but without the /d switch. Quote Link to comment Share on other sites More sharing options...
mhy3sx Posted January 7 Author Share Posted January 7 Hi BIGAL. Can you post your code because is not working for me !!!!! Thanks Quote Link to comment Share on other sites More sharing options...
BIGAL Posted January 8 Share Posted January 8 Just removed the /d. Quote Link to comment Share on other sites More sharing options...
mhy3sx Posted January 8 Author Share Posted January 8 (edited) Thanks Edited January 8 by mhy3sx Quote Link to comment Share on other sites More sharing options...
BIGAL Posted January 8 Share Posted January 8 Did it fix never used /d I did not spend hours finding about /d Quote Link to comment Share on other sites More sharing options...
mhy3sx Posted March 2 Author Share Posted March 2 No work like this @echo off chcp 65001 cd C:\mypath\myfolder dir *.sld /b > mylist C:\mypath\myfolder\slidelib.exe myfolder < mylist Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.