Jump to content

Indigo2005

Member
  • Posts

    7
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    France

Everything posted by Indigo2005

  1. oh ok ! I don't think you can ... you have to slip your string. cmbNames.Text is a caracteristic of a component, you can't use it as a string !
  2. Yes, if I understand your question I remember in C it's if ( string1 == String2 ) { allwhatyouwant; } In delphi (i think but not sure ...) if ( string1 = String2 ) then begin allwhatyouwant; end; The " string1 = string2 " return a boolean value ( true or false ) But you can't do if ( boolean = string ) then I hope it's that ...
  3. I can tell you some site i've found : http://www.fpschultze.de/batstuff.html http://www.techiwarehouse.com/cms/articles.php?cat=39 And a list of Batch Scripting Tutorial : http://www.techtutorials.info/dbatch.html Well, good luck !
  4. Hope it help you ... This very simple script take each file in the current directory and compress it using makecab command. Each cab file is put into a subdirectory ".\Cab". The filename of the cab file is the same but has the last character replaced by an underscore (_). Do makecab /? for more switches and explaination. @echo Off title MakeCab all file in current directory FOR %%L IN (*.*) DO makecab %%L /L ".\Cab" exit It was very helpful for me ! I hope it could help you to Indigo -
  5. It may be helpful for someone ! Get all filename in the current directory : @dir /b /s *.* Note : Replace *.* by *.bmp if you only want to take filename of bitmap files. Note 2 : Delete /S if you don't want the content of the ubdirectories. This scipt take all filename of the current directory and past it into a .txt file (called list.txt) @echo Off title Get all filename Find /V " " < list.txt > %TEMP%.\Myfile.tmp @dir /b /s *.* >>%TEMP%.\Myfile.tmp Copy %TEMP%.\Myfile.tmp list.txt Del %TEMP%.\Myfile.tmp exit That's it Tell me if this script help you ... Indigo -
  6. Here is what I've found : http://www.fpschultze.de/batstuff.html http://www.techiwarehouse.com/cms/articles.php?cat=39 And a list of Batch Scripting Tutorial : http://www.techtutorials.info/dbatch.html I hope it will help you .. Good luck
×
×
  • Create New...