Jump to content

InTheFlow

Member
  • Posts

    35
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by InTheFlow

  1. Well, I found a way to get rid of the text completely which is an even better solution. Thanks for the help guys!
  2. I had a program running called 'Iconoid'. It is used to keep track of where icons are on the desktop so that you can easily put them back where you want them in the event of a resolution change. It was causeing the problem. As soon as I shut it down the problem went away. Started it back up and once again had the problem. I've un-installed it as it doesn't work with Shell Object 'icons' anyway. Resolved!
  3. Hello All. Any windows that are open do not blink out only the Background, Icons, & Taskbar. It happens after about 3-4 seconds. This is a fresh install of WinXP Pro that was slipstreamed with SP2, RyanVMs updates, dx 9.0c, & raid drivers. Has anyone seen this happen before? What is the cause/fix? I'd really rather not have to do a full re-install again as I'm almost done setting things up.
  4. Thanks for the reply MaxXPsoft. Doesn't setting that value to a '1' mean it turns wrapping on? I actually don't want it to wrap. Or, are you saying to delete the entire value and create one that just says 'wrap' and set it to a 1?
  5. I searched this forum/google for 'icon' and went through the posts. I found that you are supposed to put in a 0 for the IconTitleWrap value to keep the icon text from wrapping. I searched through the registry and changed all those values to '0'. However, even after a reboot the text is still being wrapped instead of truncated. I have large fonts and large icons enabled. Anyone have a fix for this problem?
  6. I found the fix for my last problem. I must have accidentally turned off 'Enable Pinned Items on Start Menu'. In case someone else runs into this problem, here is the reg info to fix it: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoStartMenuPinnedList"=dword:00000000 I ran a repair install of Windows and so far this evening I haven't noticed any of the weird problems I was having before. I'm inclined to believe that the IE7 update hosed up my system pretty good and that the repair install fixed whatever was up. If the problems prove to in fact not be resolved, I'll post back asking for help.
  7. I used nLite to update/slim down an XP install CD & add RAID drivers. I'm experiencing some weird things happening in Windows now and am wondering if anyone has insight into why? Intermittently I have a problem where if I'm viewing an open window (doesn't matter which one...it could be a configuration screen, firefox, thunderbird etc.) everything outside of the window goes black. The taskbar and all icons just dissapear. Then if I move my mouse outside of the window, it all comes back. The unlock computer message comes up saying that only I or an administrator can unlock it. However, when I type in the correct password it comes back with the same message. It happens at intermittent times. Sometimes happens when I unplug a USB device, other times when I look at the screen sideways. Seems to be random. Unlike when it comes out of the screensaver mode and prompts for the password, it doesn't have my username pre-populated in that field of the log in box. Thats when I know I'm in trouble. Ctrl-Alt-Del does nothing at this point. I have to reset the computer to get back in. If I go to the Start Menu Properties, click 'customize' and check the boxes under Show on Start menu 'internet' & 'email', click 'OK', 'apply', & then 'OK' again...windows pauses a few moments while the changes are applied. However, when I then press 'Start' they are not shown as I had requested. If I then go back into properties it shows like I had never checked the items to begin with. The same thing happens if I reboot in between checking the boxes and clicking on the start menu. I added SP2, RyanVM's hotfixes & the Dx9c addition in addition to the RAID drivers with nLite. I also did a number of the tweaks available in nLite but haven't added anything other than that. If anyone can help with some or all of these problems, I'd be most appreciative. They currently have me stumped.
  8. Sheesh OldGoat43, stop teasing us like that already and share how to make the Gnome's script & bat file! I re-built my system last week and am STILL tweaking it...
  9. For example; I'd like to make "Windows Key + e" start ExplorerXP instead of the regular MS Explorer. Is this possible and if so, how? Thanks
  10. I've put hours into making my unattended install disc and I started wondering...for a home user with one PC to re-do, what is the point? It seems like even when things go perfectly, that there will be some programs that need to be installed manually anyway. Now, I admit...it is VERY cool to have a disc do this for you and there is great personal satisfaction in having it work. But, I got to thinking that the amount of time I'm putting into making this thing work correctly is going to be significantly longer than just installing it the 'old fashioned' way, updating with windows update, tweaking it how I want it and then just imaging the disc. Are there other reasons why its better to go the Unattended route? One thing I thought of is that there may not be as many temp files laying around going the unattended route. But then again, you could always use CCleaner to remove that stuff before imaging the disc. Anyone have any thoughts on this? Why do you go through all the effort of making one of these?
  11. no problem at all...I've been busy myself which is why I haven't contributed anything yet.
  12. Well then, its not as bad as I had originally thought... I started evaluating the different ones I listed above. Textpad, EmEditor, Programmer's Notepad, & jEdit really aren't going to do it for me. From what I've seen so far, they just don't hold a candle to Notepad ++ . Tomorrow I'll compare it with Kixtarter and ASE to see which I like better. Notepad ++ actually does have built in support for kixstart, lets you customize it (I think it will let me set up block formatting but won't know until I play with it more.) and has a number of plug-ins that can be added. One of my favorite features is that it allows you to easily make the text larger...that is REALLY nice on hi-res displays! To NOT go 'bug-eyed' while coding is a huge benefit!
  13. I have no idea if they have those features because I haven't actually checked them out yet. I watched the video...that is a really cool feature ASE has! The only thing that gets me about that program is that they charge $99 for it and then on top of that want $75 a year for 'upgrade protection'. Seems a little jacked up to me. But who knows, I might wind up going with it anyway...
  14. Thanks for the link! I d/led and installed it. I've been reading up on different editors. I've seen Textpad, EmEditor, Notepad ++, Programmer's Notepad, jEdit, & now kixtarter which all seem like worthy programs. They are also either open source or charge a nominal fee. So many options...so little time! I had an idea on the deleting old save game issue...maybe we could have the script check the backup directory for the most recent backup date/time, have it subtract 60 days and then delete anything older than that. How to implement that is another story though...hahahaha
  15. Yeah, the past two months is sufficient but only if backups have been made to the save game files recently. For example, I wouldn't want it to delete all save game files from a game that I hadn't played in over two months. Heck, there are some games I have with game save files that I haven't played in over a year! LOL! Maybe some code that looks at a directory for any changes at all and then backs them up if true would be helpful with game backups...hmmm. There seems to be many different ways to achieve good results with kixtart.
  16. No problem at all! I really appreciate you taking the time to answer them and to provide examples. It made it much easier to understand, thanks! I'm not sure how those ;s got into my script. At one point I had used them to block out a whole section of script during testing, so that may have been where they came from...now i can just use the /* */ so that shouldn't happen again. I went to set the script up to work 'for real' today and wound up messing it all up! However, I did finally figure everything out and got it working correctly. Now it backs up the Titan Quest save game files and restarts folding. It is so cool! I know, it doesn't take much to impress me...! Now to expand the script to do the same kind of backup it currently does for TQ for other games, all I need to do is something along the lines of this: If @USERID = "2nd OCCT" $Result = CompareFileTimes("C:\Scripts\testfile.txt", $TQBackup + "\CHKFileDir\testfile.txt") $Result1 = CompareFileTimes("Painkillersavefile", "Painkillersavefile") Select Case $Result = 1 OR $Result = -3 messagebox ("Backing up Titan Quest Save-Game Files & restarting folding...","alert", 48) ? COPY "C:\Scripts\testfile.txt" $TQBackup + "\CHKFileDir\" @error? COPY "C:\Scripts\" "$TQBackup\$DATE\" /s @error ? End Select Select Case $Result1 = 1 OR $Result1 = -3 COPY "C:\Scripts\testfile.txt" $TQBackup + "\CHKFileDir\" @error? COPY "C:\Scripts\" "$TQBackup\$DATE\" /s @error ? End Select EndIf Am I on the right track here? Also, let me see if I understand the nesting stuff you explained...In the above example; the two end select commands are nested within the If..EndIf command. But the 2nd Select...End Select command is NOT nested within the first Select..End Select command because it comes after the previous End Select. Is this correct or have I jumped off the wrong side of the boat?
  17. should be Well, after I removed it from there and the one inbetween program files it worked! I don't know how I missed that but I sure am glad you didn't! Thanks again...did you by chance test out the copy command?
  18. Break On Debug On /* Translate @DATE into a useable value for directory names */ $DATE = SPLIT(@DATE,"/") $DATE = JOIN($DATE,".") $TQBackup = "V:\Data Backup\Game Backups";Titan Quest Backup Location If @USERID = "gaming" MessageBox("Beginning Test","alert", 48) $Result = CompareFileTimes("C:\Scripts\testfile.txt", "$TQBackup\CHKFileDir\testfile.txt") ? Select Case $Result = 1 OR $Result = -3 MessageBox ("Backing up Files Now..."+ @DATE,"alert", 48) ? COPY "C:\Scripts\testfile.txt" "$TQBackup\CHKFileDir\" @error ? COPY "C:\Scripts\*" "$TQBackup\$DATE\" /s @error ? Case $Result = -1 MessageBox ("Files are newer in target directory..." + @DATE,"alert", 48) Case $Result = 0 MessageBox ("Files are exact matches in target & Backup directories..."+ @DATE,"alert", 48) EndSelect EndIf Exit This worked very well. I also like how nice and "tidy" it makes the script. LOL! Thanks for letting me know about the Select...Endselect statement and explaining why its important to use it. Hmmm...now you've got me thinking 'how could I get around this'! LOL Is your idea to compare one of the source files to the one in the most recent backup? I haven't decided which file to use as the 'check' file yet. I want to use a small one. As long as it is updated everytime the game is saved, it shouldn't matter which file I use because the copy command is going to copy the entire directory...both updated and unupdated files.The path to the save-game directory is \My Documents\My Games\Titan Quest Well, I actually did some research on the command before posting and had already stumbled accross the above. So, I attempted to put it into practice by making sure there was a trailing '\' but the issue persists. I had tried your example code above before as well but it didn't work. I tried it again though, just in case, and I still get error code 3. If you have a chance, see if it will work for you. I also tried removing the '@day' and just replaced it with 'day' to see if that was the problem. No luck, it doesn't seem to like deeper directories for some reason... Its funny that you mentioned this because I was going to ask you if you use a special program for this kind of stuff. LOL! I'll check into them but if they are very expensive, I'd rather find a free one. And now onto a major issue... As you know, earlier in the post we came up with this code to restart the folding services...which works perfectly. If @USERID = "gaming" Shell '%COMSPEC% /C START "" /WAIT net start "FAH@@E:+Program Files+Folding@@Home+F@@H1+FAH504-Console.exe"' Shell '%COMSPEC% /C START "" /WAIT net start "FAH@@E:+Program Files+Folding@@Home+F@@H2+FAH504-Console.exe"' EndIf However, when I attempt to put this together in the same script with the backup portion, it doesn't work. I tried this: Break On $DATE = SPLIT(@DATE,"/") $DATE = JOIN($DATE,"-") $TQBackup = "V:\Data Backup\Game Backups\";Titan Quest Backup Location If @USERID = "2nd OCCT" messagebox ("Beginning Test","alert", 48) $Result = CompareFileTimes("C:\Scripts\testfile.txt", $TQBackup + "\CHKFileDir\testfile.txt")? Select Case $Result = 1 OR $Result = -3 messagebox ("Backing up Titan Quest Save-Game Files & restarting folding..."+ @DATE,"alert", 48) ? COPY "C:\Scripts\testfile.txt" $TQBackup + "\CHKFileDir\" @error? COPY "C:\Scripts\" "$TQBackup\$DATE\" /s @error ? Shell '%COMSPEC% /C START "" /WAIT net start;"FAH@@E:+Program;Files+Folding@@Home+F@@H1+FAH504-Console.exe"' Shell '%COMSPEC% /C START "" /WAIT net start;"FAH@@E:+Program;Files+Folding@@Home+F@@H2+FAH504-Console.exe"' Sleep 5 Case $Result = -1 messagebox ("Files are newer in target directory..." + @DATE,"alert", 48) Shell '%COMSPEC% /C START "" /WAIT net start;"FAH@@E:+Program;Files+Folding@@Home+F@@H1+FAH504-Console.exe"' Shell '%COMSPEC% /C START "" /WAIT net start;"FAH@@E:+Program;Files+Folding@@Home+F@@H2+FAH504-Console.exe"' Sleep 5 Case $Result = 0 messagebox ("Files are exact matches in target & Backup directories..."+ @DATE,"alert", 48) Shell '%COMSPEC% /C START "" /WAIT net start;"FAH@@E:+Program;Files+Folding@@Home+F@@H1+FAH504-Console.exe"' Shell '%COMSPEC% /C START "" /WAIT net start;"FAH@@E:+Program;Files+Folding@@Home+F@@H2+FAH504-Console.exe"' Sleep 5 EndSelect ENDIF EXIT This: Break On $DATE = SPLIT(@DATE,"/") $DATE = JOIN($DATE,"-") $TQBackup = "V:\Data Backup\Game Backups\";Titan Quest Backup Location If @USERID = "2nd OCCT" messagebox ("Beginning Test","alert", 48) $Result = CompareFileTimes("C:\Scripts\testfile.txt", $TQBackup + "\CHKFileDir\testfile.txt")? Select Case $Result = 1 OR $Result = -3 messagebox ("Backing up Titan Quest Save-Game Files & restarting folding..."+ @DATE,"alert", 48) ? COPY "C:\Scripts\testfile.txt" $TQBackup + "\CHKFileDir\" @error? COPY "C:\Scripts\" "$TQBackup\$DATE\" /s @error ? Case $Result = -1 messagebox ("Files are newer in target directory..." + @DATE,"alert", 48) Case $Result = 0 messagebox ("Files are exact matches in target & Backup directories..."+ @DATE,"alert", 48) EndSelect Shell '%COMSPEC% /C START "" /WAIT net start;"FAH@@E:+Program;Files+Folding@@Home+F@@H1+FAH504-Console.exe"' Shell '%COMSPEC% /C START "" /WAIT net start;"FAH@@E:+Program;Files+Folding@@Home+F@@H2+FAH504-Console.exe"' ENDIF EXIT And this: Break On $DATE = SPLIT(@DATE,"/") $DATE = JOIN($DATE,"-") $TQBackup = "V:\Data Backup\Game Backups\";Titan Quest Backup Location If @USERID = "2nd OCCT" messagebox ("Beginning Test","alert", 48) Shell '%COMSPEC% /C START "" /WAIT net start;"FAH@@E:+Program;Files+Folding@@Home+F@@H1+FAH504-Console.exe"' Shell '%COMSPEC% /C START "" /WAIT net start;"FAH@@E:+Program;Files+Folding@@Home+F@@H2+FAH504-Console.exe"' $Result = CompareFileTimes("C:\Scripts\testfile.txt", $TQBackup + "\CHKFileDir\testfile.txt")? Select Case $Result = 1 OR $Result = -3 messagebox ("Backing up Titan Quest Save-Game Files & restarting folding..."+ @DATE,"alert", 48) ? COPY "C:\Scripts\testfile.txt" $TQBackup + "\CHKFileDir\" @error? COPY "C:\Scripts\" "$TQBackup\$DATE\" /s @error ? Case $Result = -1 messagebox ("Files are newer in target directory..." + @DATE,"alert", 48) Case $Result = 0 messagebox ("Files are exact matches in target & Backup directories..."+ @DATE,"alert", 48) EndSelect ENDIF EXIT I also switched everything back to If...Endif statements to see if that would work. In all four cases the results are the same. The folding service is not restarted but the files to be backed up are copied properly. ("2nd OCCT" is user account I created to test this out.) I re-ran the logoff script that does only the restart to make sure that it still works. It does. I then added 'sleep 10' after the net start command to see what the heck the system was doing. (Show logoff scripts is still enabled under group policy.) Well, the wierd thing is that a console box comes up...with nothing in it! I must have ticked the script gods off or something! LOL! Couple more questions, if you please... 1. Many commands say they can be 'nested' as many times as memory allows. How do you properly 'nest' commands and how do you know how many 'nests' your memory can handle? 2. Where did you learn this from? I ask because I looked at the command reference to see if there were examples like this but what it showed was pretty basic. Is there a resource available that I can use to study this kind of thing or is it just something that comes with experience? 3. When you are formating a script...as in adding tabs to make it easier to read, does the script care or do we do that just to make it easier for us to read and follow what is happeing? 4. Is using /*...*/ how you do block commenting? The user guide says to refer to that but there is no hyperlink for further detail nor is there any other mention of it on the commands page. Yep, I realized that after I had posted...I guess we were both working on replies at the same time. Thanks again for your help!
  19. Sweet! Must be my lucky day! Thanks for the tip/heads up on this. So far I haven't had to use ctrl-c to stop a rebel script. But, its probably only a matter of time... This worked! Is there a way to join each element back together in a different order? For example: Month.Day.Year Maybe each element could be assigned a number and then joined back together in whatever order you put the numbers in...I haven't had time to play with the first code idea you offered. Maybe that is the answer. That would be great, thanks! I have to admit that I'm perplexed on the issue. I can work around that problem by just adding another subdir to $TBBackup. But still, I'm crazy curious! LOL
  20. I've been working on getting this part to work and am having some issues. Here is the additonal code I'm using: DEBUG "ON" $TQBackup = "V:\Data Backup\Game Backups" ;Titan Quest Backup Location If @USERID = "gaming" messagebox ("Beginning Test","alert", 48) $Result = CompareFileTimes("C:\Scripts\testfile.txt", $TQBackup + "\CHKFileDir\testfile.txt") ? IF $Result = 1 OR $Result = -3 messagebox ("Backing up Files Now..."+ @DATE,"alert", 48) ? COPY "C:\Scripts\testfile.txt" $TQBackup + "\CHKFileDir\" @error ? COPY "C:\Scripts\" $TQBackup + "\@date\" /s @error ? EndIF IF $Result = -1 messagebox ("Files are newer in target directory..." + @DATE,"alert", 48) EndIF IF $Result = 0 messagebox ("Files are exact matches in target & Backup directories..."+ @DATE,"alert", 48) EndIF ENDIF NOTE: the '?', "@error", & Debug = "on" commands I have added so I can understand how this thing works better. What I'm trying to do is backup the save game files in a different directory every time. As in, I DON'T want it to overwrite the previous backup each time. That is why I have a CHKFileDir Directory and copy only one file to it. It acts as the always updated 'check file' which can be compared with the original. It is the 2nd copy command I'm having issues with & questions about (bolded & Italicied). Ideally, I'd like to have a directory created based on today's date. But because the @DATE thing (variable...command?) returns a value in the xxx/xx/xx format, a directory can't be created because those are illegal characters for both file and directory names. My first question is: Is there a way to get the response from @date formated in a different way? For example: xx-xx-xxxx If so, this would resolve the issue. If not, then is there a way to change the target directory name incrementally each time it backs up the files? Also, I've done quite a bit of experimenting and as a result have a question about the copy command. If I type this into the .kix file: COPY "C:\Scripts\" $TQBackup + "\@day\" /s @error ? It creates a directory with today's day name without error However, If I type this into the .kix file instead: COPY "C:\Scripts\" $TQBackup + "\@day\test\" /s @error ? or COPY "C:\Scripts\" $TQBackup + "\@day\@day\" /s @error ? or COPY "C:\Scripts\" $TQBackup + "\@day\test" /s @error ? or COPY "C:\Scripts\" $TQBackup + "\@day\@day" /s @error ? I get a return error code of "3" which means directory not found. Why is that? My understanding of the copy command is that as long as I put a trailing "\" at the end, it should create the directory. Am I reaching a limitation within the kixtart program or formating it incorrectly?
  21. To be honest I have KIX32.EXE (and WKIX32.EXE) in my Windows directory so I've always specified the full path to the script itself. Personally, when I'm using KIX I use as much native code as I can (i.e. use KiX's COPY command instead of shelling it out). Now if you want to make the source and destination match exactly, I recommend giving XXCOPY a look. I use that for disk-to-disk backups with great results. Good stuff to know. I need the files copied so that they match the source but don't need to backup an entire drive. On the gaming profile for example, I want it to back up the savegame directory of the games I played provided that the contents of those folders changed. I'll look into Kix's copy command first to see if I can do it with that or not. Thanks again for the help!
  22. nmX.Memnoch - thanks a million for all your help on this! You should be checking for a user name, not a computer name. Make sure you have the user's name in the If line instead of the computer name. Even though I typed 'computer name' I meant 'user name' I did all of the above and here is what happened: The same thing as before. As in I saw the message 'running logoff scripts' but never got a command box displaying anything... That's the proper way to do it. This got me to wondering so I checked to make sure it was still set up this way. It was actually all on the script name line. So, I switched it to match the above example and then it flashed a command box with an error instead of just saying it was 'running logoff scripts'. I logged off several more times and finally got the entire message. It said: 'Error Failed to find/open script [logoff.kix]!' That made me think that maybe it didn't know where the script was located at. So, I went back into the group policy's logoff section and added the path to the parameters line. Now, instead of just saying 'logoff.kix' it says: 'c:\scripts\logoff.kix'. After making that change, it worked...all of it. It automatically launches the services at logoff! Question: Is it normal to have to put the path on that line? It seems like it should automaticlly check for the script in the same folder that the kix32.exe is found... Now the next step is to enhance the script so that depending on which user is logging off, it will back up specific files/directories to another hard drive automaticaly. Would you recommend that I start my research on how to do that with kixart's copy command or use the shell command to use something from the command prompts?
  23. Thanks for the clarification on the @ symbol. I had read that you have to double those when using them in a string but didn't make the connection. Thanks! Where are you getting the information about the START & /WAIT commands? I searched for both of them within Kixtart's command lists but can't find them. Is Kixtart interfacing with another set of commands that can be 'nested' within the .kix script? On to the current results... When I add the above code into the .kix file, go to the command line and type: "kix32 logoff.kix" and press enter, the commands execute successfully and start the two services. However, when I add the script to the User Group Policy it is not working. I hear the windows exit sound, a message displays saying: "running logoff scripts" and it then drops me back to the logon/welcome screen. If I go into another login, pull up task manager and look to see if the services were, in fact, started...they were not. So something isn't working properly. This is what I've tried on the group policy settings: First I go: run > gpedit.msc > User Configuration > Windows Settings > Scripts (Logon/Logoff) > Standard Tab > Double click "Logoff" I add 'c:\scripts\kix32.exe' to the script name line Under Script Parameters I enter: 'logoff.kix' I've also tried 'c:\scripts\kix32.exe logoff.kix' on the script name line & nothing in the parameters box And 'c:\scripts\kix32 logoff.kix' on the script name line & nothing in the parameters box. All three attempts produced the same results as described above. I'm wondering if what is happeing is that once the windows exit sound has played it means the user is logged out and the script is running after that? If so, the script would not execute because the computer name would not be equal to "comp1". To test this I changed the logoff.kix script to: Shell '%COMSPEC% /C START "" /WAIT net start "FAH@@E:+Program Files+Folding@@Home+F@@H1+FAH504-Console.exe"' Shell '%COMSPEC% /C START "" /WAIT net start "FAH@@E:+Program Files+Folding@@Home+F@@H2+FAH504-Console.exe"' and then logged off thinking it should run regardless of which user was logged in. However, I got the same results as above. Am I entering the command into the logoff script name incorrectly? Thanks.
×
×
  • Create New...