Jump to content

noriel

Member
  • Posts

    5
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Spain

Everything posted by noriel

  1. I am sorry if I upset you with something. Yes, you are a wonderful teacher , but I will come here for help when I will have something (my code) to discuss about. And I am really eager to learn more. For example I didn't understood from the beginning that FOR F/ command.and all the other stuff like delims and I begun to study. So at some point I managed to write by my own a batch file that is parsing words from a text file and echos the rest of the text to another file. I know this is child's play for you, but your directions helped me to understand much more than I knew yesterday. Now I know a little bit more like understanding more commands. Now that you helped me more I will try to see how I'm doing myself and if needed come here to ask for help with a some code. Thanks a lot!
  2. I wasn't shouting. Caps lock remained active from another application. I'm sorry you understood that I am shouting. Regarding my knowledge level: it's low. I want to learn. I am trying to learn batch programming for 2-3 days and I thought it would be a good idea to learn it doing useful things instead of learning lots of theoretical stuff and forget them before using them. For example trying to do a useful thing I learned about dir and enable. If I was going just on learning after a month I probably wasn't able to write that code and were good chances to forget some thing until then since I wasn't trying them in the practical way. When I read that code you wrote I didn't understood a thing of it. I read and now I have an idea about what it is doing. I found what are those 2 enable commands, the dir command attributes and the command syntax. I want to learn and thanks that you tried to help me using that chinese saying about the fisherman and the fishing line. But since I am not having any programming knowledge and my brain isn't working like a programmer's one I don't understand in what direction I should go. I mean I don't know if I should find a way to run a command using that variable or extract that name from the loop and use it in the copy command. I don't want the code for it. If you are willing please give me more indications about the direction I should study. Thanks a lot for helping me. ps: If you consider that your indications were very clear and I am too dumb to learn something I will stop about learning any programming. I don't intend to waste others time and good intentions.
  3. Hello again. I want to make a batch script that will backup some information and I will integrate this script in a boot cd like hiren's. The purpose is to boot the cd if the os is not working anymore and with one click to back-up my personal information. I don't want to browse folders and extract those files one by one. By reversing it's actions I will make a second script that will deploy my files in the right folders after os reinstall. I don't want to a make an os image since I could use that image on a similar pc and I don't want my info go there. About the script: - I managed to make it back-up my ppoe info file, but on a clean install even if I'm deploying the needed file in it's place it's not working. I don't know if the script should make some registry entries as well. Ex: the user and pass are stored in a .pbk file. If I back-up it and after os reinstall I copy it where it should be the ppoe connection is not starting. I presume it's something more to be done, maybe in the registry. So it's not working for the moment and it's useless. I will remake the connection manually. - I managed to make it back-up some fix name folders from desktop that will always be there. Ex: pics, notes. And a download folder which has also a fixed name and path. - I managed to back-up from firefox the entire PROFILES folder, but I need to back-up just 3 files (1 with the password and 2 for the bookmarks) from each of the 2 profiles folders that I'm having. One profile contains bookmarks and passwords and the other just bookmarks which are the same for each profile.The only problem is that the profile names are variable: XXXXXXXX.default. So, I need a script that will access the %AppData%\Mozilla\Firefox\Profiles\ path and without knowing from the start what are the profiles names to go inside them and back up from each, 3 files and save them separately. Of course from the second profile 1 file (with password) will be missing. After reversing, the script will deploy those 3 files in every of the 2 existing profiles without knowing from the start the name of the profiles. From the second profile I will delete manually the password file. Even if I have to do some manually operation after os reinstall the main purpose of the script is to back-up my files with one click. So, it's possible? Thanks.
  4. Hello. Could you help me please with the next problem regarding batch programming? I want to move a file to one or two variable name directories. The parent directory of the variable name directory is a fix name but the "child" names directories are variable. I want to distribute this file to those 2 directories without knowing their name. The only fixed directory which name will be always the same is the parent one. Ex: C:\backup\variable name directory 1 C:\backup\variable name directory 2 is this possible? Thanks
×
×
  • Create New...