Linux and Windows Support  


Login or Register  

If you wish to contribute an article, please login or register.

Who's Online  

We have 91 guests online

Simple backup script (VBS)

VBSccript file format iconQ. I would like to have a simple backup script, running under windows, which would:

1. Create an archive of my files

2. Delete the archive after a period of time

A. To create an archive, we'll use RAR archiver. It can be downloaded from After you install this application, copy the file rar.exe (found in C:\Program Files\WinRAR) to C:\Windows. This way you can run rar.exe from anywhere on the system and it will find it.

For the purpose of this tutorial we'll use:

Expiration date: 15 days (so we keep the backups for 2 weeks)

Backup path (Destination): C:\backups

Files that are being backed up (Source): C:\inetpub\wwwroot (IIS websites)

Thursday, 06 October 2011 09:16

Synaptic removed in Ubuntu Linux v11.10

ubuntu-logo-smThe new version of Ubuntu Linux (version 11.10 - Oneiric Ocelot) will not have Synaptic Package Manager. This was one of the changes for the new version. I'm not sure if anyone uses Synaptic - most software installations are done through apt-get. In any case, if you really need it, this is how to get it back:

sudo apt-get install synaptic

Thursday, 18 August 2011 14:11

Running external command (VBS & WSH)

VBSccript_file_format_iconThere are various ways to execute an external command from VBS. Here are a few examples.

1. Using Exec

If you want to run an application in a child command-shell, providing access to the StdIn/StdOut/StdErr streams:

Example 1: Capturing the exit code:

Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shell")

Set oExec = WshShell.Exec("notepad")

Do While oExec.Status = 0
WScript.Sleep 100

WScript.Echo oExec.Status

Wednesday, 17 August 2011 12:39

"View Source" in Firefox 6 - now

firefox-logoQ: After being there for 5 versions the "View Source" option is gone from View View Source. Where is it?

A: New changes bring new problems. I have no idea why that was removed - I think it can be filed under "change for the sake of change".

a) You can view the source by right-clicking on the page and selecting View Source


b) You can press Ctrl+U and it will pop-up the page source window

Wednesday, 17 August 2011 07:45

Display "From" field in Outlook

outlook_2003_logoQ. How can add a From button to Outlook 2007?

A. First, open Outlook.

2. Click on "New Message" (or Ctrl+N as a keyboard shortcut).

3.Click on "Options" → "Show From" button

Wednesday, 10 August 2011 12:34

Disable protected mode (Office 2010)

200px-Microsoft_Office_2010_LogoQ. I'm getting an error when opening Word or Excel 2010 files "Protected View: This file originated from <blank> and might be unsafe". How do I get rid of it?

A. You need to disable protected mode. To do that, follow these steps:

1. Open MS Word 2010 and go to FileOptions

Wednesday, 27 July 2011 21:04

Remove shared drive (using VBScript)

VBSccript_file_format_iconQ. Anytime I plug in my flash drive, Windows creates a share (eg. F$) that is accessible to people over the network. I can't permanently un-share that drive, but how would I speed up the process for removing it every time?

A. Yes, it is true that this share is accessible to people over the network, however, it is only accessible for anyone with admin rights and the person has to know that you have an F:\ drive plugged in in order to access it. In any case, this is how you would do that:

Wednesday, 27 July 2011 10:40

Page 7 of 18

<< Start < Prev 7 8 9 10 11 12 Next > End >>
Copyright © 1999 - 2016 Virtual Helpme | r | Original Template: Allrounder