• WScafed00d

    WScafed00d

    @wscafed00d

    Viewing 15 replies - 1 through 15 (of 824 total)
    Author
    Replies
    • in reply to: POWERSHELL Script #1581944

      Don’t quite understand what you are attempting to do. Are you wanting:
      a) the script to wait until 5PM and then send an email?
      b) if the script is running, and it is 5PM, send an email
      c) run the script at 5PM; the script send an email (this is best handled via the Windows scheduler)
      My guess is (a), but each one requires slightly different coding, which makes it difficult to answer (and I’m too lazy to provide you with all three answers…)

    • in reply to: Trimstart to delete all leading spaces in xml #1576174

      Would an app that does this do? I use Notepad++ to edit text files. One of its features is trimming leading spaces. There is also an XML plugin available the will pretty-print the XML (I deal a lot with XML without any linefeeds – it’s all on one line).

    • in reply to: Maintaining a collection on a network drive #1573712

      The is also the SyncToy (https://www.microsoft.com/en-us/download/details.aspx?id=15155), which should be able to do this.

    • in reply to: How to properly format SSD drive? #1572863

      You should not have to format the drive for Disk Manager to display information about it. From the symptoms you described, I would guess that either the cables were not correctly plugged in (I’ve had cables come loose when I had to plug the cables in before inserting the drive into the drive bracket), the cables are bad (I would try another set of cables, both power and IDE), or the drive is bad (if I was absolutely sure that the cables were OK, e.g. the cables work with another drive, I would go so far as to place the drive into an external enclosure and see if it will connect via USB, and if that failed, I’d return/exchange the drive).

      BTW, with my current SSD, I had issues when I first started using it because I laid it on top on one of my other drives (rather than securing it into its holding bracket). I did this because I was temporarily trying to install the OS on it and did not want to physically remove my existing OS drive from the case until I had the new OS installed. I had various issues with intermitted hangs and OS crashes, to the point where I suspected a bad drive. But moving the drive elsewhere (I left the side of the case open and had the drive dangling outside of the case) solved the issues. And once I placed the drive into its permanent home (in place of the old drive that I removed), it hasn’t given me any problems. So also double-check that the SSD drive is well isolated from the other components.

    • in reply to: PowerShell Settings #1569922

      Most of your PowerShell settings should be in file named Microsoft.PowerShell_profile.ps1 (or profile.ps1) in your ~DocumentsWindowsPowerShell directory, so those will be backed up as part of you normal backup (you do back up your documents periodically, right?). There are also global profiles, see https://technet.microsoft.com/en-us/library/bb613488(v=vs.85).aspx for the locations.

      The only setting I don’t know how to backup is the execution policy; but then if you need to you can always run Set-ExecutionPolicy to reset it.

      Your scripts are just files on disk somewhere. If you store your scripts in your document directory, they are already being backed up by your normal back. If, like me, you store your scripts elsewhere, you’ll have to configure your backup software to back up that directory (or directories) also.

      If you installed extension, such as the PowerShell Community Extensions, the best thing would be to reinstall them if you need to (instead of attempting to back them up). If, like me, you downloaded some .NET DLLs to provide additional functionality (I downloaded one that reads MP3 tags), and those files use an “unzip to install” mechanism (as opposed to running an installation program), you should backup that DLL and its associated files (or the original zip file you downloaded, which is what I do).

    • The problem is with the digital rights management (DRM) software used to prevent piracy. Apparently, all of the old Microsoft game titles and many other titles relied on a DRM DLL which verified that you indeed had a legal copy of the software before running it. That’s why you have to have the CD/DVD in the drive before you can play the game, the DRM DLL checked the disk to make sure it had the expected layout. Anyway, at some point in time a KB update from Microsoft removed the DLL form various versions of Windows, and of course that DLL doesn’t come with Windows 10. So that is why you are getting an error – the game is attempting to use the DLL that doesn’t exist.

      According to my reading, getting the DLL is problematic and doesn’t appear to work anyway (probably needs to be installed in some fancy way, not just copied to disk). So the best solution I have found is to get a “no-CD” patch – this is a replacement to the EXE file that runs the game where the code to check the CD (the code which relies on the DLL being there) has been removed. I currently have such patches for almost every old game that I have (I keep meticulous notes on what is required to run all of my old games, I still play a lot of them in Windows 10). The best place I have found to download the patch for AoE III is http://www.agecommunity.com/gameUpdates.aspx, this looks like the official support site for AoE III, it provides a lot of game updates, so there should be no security issues such as are present on other sites of this kind.

    • in reply to: windows 7&10 on separate drives #1550203

      I know this is not the question that you asked, but why transfer your files to the SSD, why not leave them on the HDD and access them there? You should be able to change the location of your personal folders to the E: drive, see http://windows.microsoft.com/en-us/windows/redirect-folder-new-location#1TC=windows-7. That’s what I did, none of my personal files are on the C: drive, only the OS and program files.

      I did not understand what you meant by “which left my old HDD with all my music etc unattainable” in light of your later sentence “I have already transferred my Photos and some programs to the SSD but as it is only 250gb there is not enough room all my music.” Could you describe what you mean by “unattainable”? Did you just mean that they wont fit into the My Music folder on c:?

    • in reply to: Code editor with nav pane like Word? #1548946

      Notepad++ has a Function List pane that should yield what you need, though you might have to do some configuration to tell it what constitutes a function in the languages you are using. It looks like python function support is built in, you’ll have to define what a function is in the other languages (or google for it).

      Eclipse has an Outline pane that also provides this function, and the outline feature supports HTML and CSS out of the box (you will need the “Eclipse IDE for Java EE Developers” downloa). There is a python development plugin that you’ll have to add in; and unfortunately no VBA support. But Eclipse is an integrated development environment (IDE), not a plain text editor, so it’ll pretty much force you to use its directory structure (files need to be within project folders within a workspace folder), and it also requires that you have Java JDK installed. This might be a little more than what you are looking for, but it does have excellent HTML and CSS editing facilities.

      Also, did you really mean VBA (which is a flavor of Visual Basic embedded within other software, such as MS Office) or just VB (which is used to write standalone apps, including web apps)? If the later, then MS Visual Studio is the tool to use (the community edition is free and fairly full featured). It’s Solution Explorer pane lists the functions in your file. Unfortunately, it doesn’t outline CSS or HTML (from what I can see) but there is a bookmark feature that you could use.

    • in reply to: view downloads box a nightmare #1548217

      Try these two things, one of them should fix this.

      Instead of left-clicking the IE icon, right-click it and select properties (if the IE icon is on the task bar, right-click the icon, then right-click on the Internet Explorer entry in the quick-links menu). Then make sure that the “Target” field contains only the path for iexplorer.exe, that there are no additional command options. If there are, remove them and then try left-clicking the icon again.

      If that doesn’t solve the problem, then most likely your home page has been configured to show the downloads page. So once IE is opened (and showing the downloads page), open the Internet Options (click the “gear” icon in the upper-right corner of the IE window, select Internet Options from the menu) and on the General tab, in the “Home page” section, click the Use Default button, or simply edit the URL in the list box to be google or whatever you want. (Most likely, the current URL you have is for the downloads page.) Also, make sure that under the Startup section that “Start with home page” is selected. (If “”Start with tabs from last session” was selected, then most likely you previously exited IE while displaying downloads. In that case, either browsing to a different page, or changing the startup setting should fix this. )

    • in reply to: hook computer to turntable? #1545575

      The on-board audio for my PC has a line-in jack. My turntable has two RCA-style connectors, so I got an RCA to banana plug cable. My turntable also has a pre-amp, which is important when using line-in. I’ve been recording this way for years (currently working my way through the LPs I borrowed from my parents).

    • in reply to: My Win7 Home Premium (32bits) is running so slow #1543153

      Does the fan run constantly? While it is running, if you place your hand near the fan exhaust vent, do you feel a lot or air being blown out, or just a little or none? If the latter, then your cooling vents are clogged with dust and need to be cleaned. This happened to me on an old Dell laptop, everything was talking 2-3 times as long to do and I found that so much dust had accumulated on the cooling vents that it looked like a piece of felt was covering them. To clean it, you’ll probably have to take it apart to get at the vents and use canned air to blow out the dust. If you don’t feel comfortable doing this, take it to a reputable laptop repair shop.

    • in reply to: The Question That Does Not Go Away… #1542820

      There are two things that I do that have consistently sped up a computer that I had been using for a year or more:

      1) Reinstall the OS and my apps. There is just something about accumulating a lot of junk over the course of a year (larger register, more stuff for the indexer to index, larger start menus, large winsxs directory, etc.) that tends to just slow things down. I tend to reinstall Windows about every 18-24 months. But then I tend to download and install a lot of stuff over the course of 2 years, and a lot of it doesn’t get reinstalled. Perhaps if I just uninstalled a lot of that stuff it would speed up things just as much work just as well, but starting fresh just seems easier.

      2) Pop open the case and use a can of compressed air to blow the dust off of all the cooling vents. My old Dell laptop had removable cooling fans. At one point I noticed that operations that used to take seconds were taking minutes. And the fans were running full speed all the time. I popped out the fans and remove what looked like pieces of felt for the cooling vents – it was compacted dust! Suddenly my laptop was its speedy self. I clean out the dust on my desktop twice a year, and watch the CPU temperature and listen for the fans running to let me know if I have to do it more often. I am concerned about my Sony ultrabook because there is no easy way to crack it open and clean the cooling vents; but then when the fans don’t come on often and when they do I can feel a lot of air coming out of the opening, so the vent must not be that filled with dust yet.

    • I use WinDirStat, no need to install Flash. It provides a nice graphic of disk usages and lets you drill down using either the graphic or a tree hierarchy.

    • in reply to: Windows 10 finally adds a new Path editor #1539898

      This looks kind of nice. I edit the path several times a year; having the entries nicely listed should make the editing easier. Let’s hope that there are more tweaks like this forthcoming from Microsoft.

    • in reply to: Google Search has stopped working in IE 11 #1537986

      The same things happens to me all the time in Chrome and Firefox if I have Google as my search engine (I never set Google as my search engine in IE, always left it at Bing, but your post suggests that I’d encounter the same behavior). Do a search on “chrome google search yields blank page”, there are a lot of hits and none of the many recommended solutions have any lasting effect – search works just fine for a while and suddenly I’m getting the blank page again. So I changed my search engine to Bing in all my browsers and haven’t had this issue any more.

    Viewing 15 replies - 1 through 15 (of 824 total)