in reply to Help me to run linux command in windows

Make a file called ls.bat and put it in a system directory (like system32 or Windows). Put

dir %1

in the file. Reading your post again it seems like you want to call it from within an application - if it's a windows app, then why not just use 'dir'?
  • Comment on Re: Help me to run linux command in windows