Jump to content

Help with *.bat file


Recommended Posts

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

Link to comment
Share on other sites

Hi BIGAL. The slidelib is allready in lines folder. I don''t Know why is not working !!!!

 

 

Thanks

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

  • 1 month later...

No work like this

 

@echo off
chcp 65001
cd C:\mypath\myfolder
dir *.sld /b > mylist
C:\mypath\myfolder\slidelib.exe myfolder < mylist

 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...