Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

darksimoon

Member
  • Content Count

    116
  • Joined

  • Last visited

  • Donations

    $0.00 

Community Reputation

0 Neutral

About darksimoon

  • Birthday 02/15/1973

Contact Methods

  • MSN
    alpermt@hotmail.com
  • Website URL
    http://

Profile Information

  • OS
    Windows 8.1 x64
  1. Thank you very much Jaklaz. I adapted my batch file accordingly thanks to your kind help. And it works like charm
  2. Dear Jaclaz, Thank you again. These subjects are a little complicated for me, so sometimes I prefer to use template solutions and for such cases I ask my questions here. this time I chanced my template as follows: set YMD=%date:~-4%.%date:~3,2%.%date:~0,2% SET Now=%Time: =0% set HM=%Now:~0,2%.%now:~3,2% SET BackUpTime=%HM% SET file=%YMD%-[%BackUpTime%]-FLAMENT.rar echo %file% --> 2016.09.21-[07.53]-FLAMENT.rar I think it is OK! but what I don't understand is why did you add followings after SET Now=%Time: =0% ? I wonder this because I couldn't see any %Hours% o
  3. Hello Friends, I have following variable inside a batch file, but somehow there is an extra space in the output as seen in the attached file. (I also added sample batch file) I checked the possible spaces inside batch file but everything seems OK. how can I prevent this space to happen ? Edited 1: I've just realized that sometimes it doesn't make any space and works well. So I don't understand when it works and if it works, how it works Edited 2: This time I've realized that it is about time format. when the hour is before 10:00, the time format doesn't show zero like
  4. Dear Jaclaz, I thank you a million times for this. You helped me again as before. thanks to information you provide me, I will be able to improve my batch file much more efficiently. thank you again. Best Regards
  5. Hello friends, I have a basic level at batch files. In one of my bacth file I use below variable for naming my backup file whose name is "2016.08.16-(08.30)-FLAMENT.rar" set HM=%time:~0,2%.%time:~3,2% echo (%HM%) --produces--> (08.30) The problem is that I want to use the same time (08.30) for the other file which related to the previous one. But since the time changes throughout the process in the same batch file, %HM% produces (08.32), not (08.30) for the time changed. how can I use same time for all processes thoughout the batch file ? I mean, I want %HM% to p
  6. hello friends; thank you both a lot. i made the correction suggested by yzöwl first. and this time it worked. then i did what bphlpt told me to try and it all worked together very well. i am so happy. thank you very much one more time. i attached the files as sample for people who might need them. best regards... yzowl.CMD DVD-BACKUP-01.03.2013-v2.cmd
  7. hello friends; @bphlpt, actually i changed the "path of par2j.exe" but somehow i couldn't manage. in the help file it was saying that just drag the folder onto the batch file. i tried but failed. however i will try your solution and inform you. @yzöwl, yes you are right. i am new to backup procesess. i think that corruption on CD is happening partially. in such case i may detect corrupted files by checking md5 hash files and rescue corrupted files with parity files. now i see that it is better keep the md5 files at both CD and another location & parity files in another location as well. i
  8. Hello dear friends; You helped me a lot in the past about batch files and now i need your help one more time. I am creating a batch file for my photograp back ups which will make md5 hash files firstly, then create parity files and latest write to DVD. I managed to do for md5 and dvd writing but as for parity files i have difficulty. I am using multipar for this which supports commnad line. But in the batch files it only accepts the files at the root of the folder and ignore the files at the subfolders. They gave a sample batch for this but i cant add this into my batch files. please help
  9. dear Jaclaz; thank you very much for your help dear Yzöwl; i did as you say and it worked out. thanks a lot. and dear submix8c; i use both win xp and win 7. i also use the latest version of winrar. however there is no such a thing in the help file. so i think best way is set the path=%temp%. once again, thank you very much friends.
  10. hello friends; i am preparing winrar sfx file as portable application through batch file. and i enter the options of the sfx file by comment.txt but when i enter "TempMode" into the comment.txt by batch file, somehow it doesn't extract the files into the temp file. Instead it extracts the files into the current folder. I don't understand why. below is my batch.cmd and comment.txt content; how can i make the sfx file to extract the content into the temp folder ? =========batch file========= echo TempMode >> .\comment.txt ============================ =====comment.txt=========== ;Created
  11. hello friends ; thank you very much for your replies. @ nomadturk i wanted to try your codes however it seemed to me a little complicated. yet thank you very much for your reply. @KingAFW your solution worked for me and it's easy. thank you very much. Here are the lines i used; attrib +s "D:\userxpsettings\Desktop\New Folder\*.* " /S /D attrib -s "D:\userxpsettings\Desktop\New Folder\*.* " /S 1st line attributes all the FILES and FOLDERS +S and the 2nd line removes S attribute from FILES and the result is only the folders are +S attributed.
  12. hello dear friends i need a simple batch command that makes the attributes of the folders inside a folder as system but i cant do it since the folder dont have an extension. it must be something like "attrib +s *.folder" i know its funny but this is all i can suggest can you help me please ?
  13. hello phaolo ; i'm not sure how its done exactly but why dont you add "shutdown -t 5" command in the runonceex where you want it to reboot or in the software's *.bat file that includes setup parameters ? i think you can manage this issue this way.
  14. hello friend; i'm sending you my runonceexes. inside there are 5 runonceex. they call each other by turn. ingestigate it. i hope you get what you need. start it from cmdline.txt. command.rar
  15. hello friends; i like favicons close to my favorites and i want to assign icons unattendedly. manually i can do it (properties of url/change icon/browse to favicons folder...) can you help me if there's any way to do it ? thanks in advance
×
×
  • Create New...