Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. nashcom

    Outlook 2010 - disabling reminders on shared calendars

    Is it possible to disable reminders on shared calendars in Outlook 2010? It seems that in Outlook 2010 users get reminders for all calendars they have access to, not just their own. I can't see an option to stop this - the only option seems to be the global option to disable reminders which...
  2. nashcom

    Displaying long integers

    Thanks very much for all the help - those methods work great. I don't really know what I'm doing with it, so it takes me a while to work things out, but Unix scripting is fabulous in its power and flexibility.
  3. nashcom

    Displaying long integers

    Thanks very much. The first example concatenating the $1 and "000" works well enough - I just wasn't sure how to join the number and the string. The printf %d returns a strange number (-2147483648). I'd been using printf %d in my code, and if I see that number being printed it means the...
  4. nashcom

    Displaying long integers

    Is it possible to print a larger number than a standard 32bit integer? For example, I need to output the size of a directory in bytes, and the directory is 6GB. I've tried a few things, but the simplest line is: du -s -k | awk 'print $1*1000}' The -k option lists the directory size in KB...
  5. nashcom

    Awk - moving backwards

    Thanks for confirming that. I'll tackle the script in a different way!
  6. nashcom

    Awk - moving backwards

    Hi Is it possible to skip backwards a number of records when using awk? For example, if I'm reading each line in an input file and reach a line which begins with certain text I want to skip backwards a couple of lines in the input file and carry out some extra processing. I may need to...
  7. nashcom

    Word 2010 - File New default to My Templates

    Thanks for that. I added the 'New Document or Template' command to the Quick Access toolbar. It works, but it takes a few seconds to open the template dialogue box - longer than it does when I click on 'My Templates'.
  8. nashcom

    Word 2010 - File New default to My Templates

    When I select 'File, New' in Word I'd like it to jump straight to 'My Templates' instead of the Available Templates screen. Is this possible, and if so, how can I configure it to do it? Thanks.
  9. nashcom

    Passing filenames to awk

    Thanks very much for that. I did manage to get it working by separating out the awk code into its own file, and calling it using a system call from within the bash script and passing it the filename. I was then able to use the FILENAME variable within the awk script. It seems to work fine...
  10. nashcom

    Passing filenames to awk

    Hi I’m having a bit of trouble writing my first Unix script. I’ve written a script which includes some awk coding to extract certain information from a file. The filename is hard-coded into the awk routine. The script is working okay, but what I’d like to do is to have all the files in a...
  11. nashcom

    Reverting to old array

    Thanks very much for that. I was very nervous about this. In the end I managed to sort it using a different method, and didn’t have to re-instate the old array. I looked through the BackupExec logs and saw that the contents of the SQL DATA folder had been successfully backed-up a few days...
  12. nashcom

    Reverting to old array

    Thanks very much for that. I was very nervous about this. In the end I managed to sort it using a different method, and didn’t have to re-instate the old array. I looked through the BackupExec logs and saw that the contents of the SQL DATA folder had been successfully backed-up a few days...
  13. nashcom

    Reverting to old array

    I’ve got an HP ProLiant ML370 G4 with a SmartArray 6400 controller. It’s running Windows Server 2003. The C: (system) drive is on one mirrored array. The E: (data) drive is on a RAID 5 array. I’ve installed three larger capacity hard disk drives for the E: drive. When I installed them I...
  14. nashcom

    Reverting to old array

    I've also posted this in the HP server section. I’ve got an HP ProLiant ML370 G4 with a SmartArray 6400 controller. It’s running Windows Server 2003. The C: (system) drive is on one mirrored array. The E: (data) drive is on a RAID 5 array. I’ve installed three larger capacity hard disk...
  15. nashcom

    Access 97 closing with error

    Thanks, Geoff. Is there a way to 'uncompile' an MDE file? I'm not sure where to look for the original file which it sounds like I'd need in order to remake the MDE in 2002 format.
  16. nashcom

    Access 97 closing with error

    I've found an old book which describes upgrading to 2002. However, it says it's not possible to upgrade Access 97 MDE files. I'm not sure how the MDE is created. I have an MDB file on the client computers, and also the main one on the server. Is the MDE effectively a 'compiled' version of...
  17. nashcom

    Access 97 closing with error

    I’ve inherited a critical Access 97 database/application, and it’s starting to play up. The main database sits on an NT4 server, and there are two client PCs which access it. They run Windows XP Pro, and have Access97 installed (alongside Office 2002). On the PCs there is a MDB file and an...
  18. nashcom

    Basic string manipulation

    Thanks very much, James. I'll give that a bash. I'll read your examples and look at the help files, and hopefully get around to coding at the weekend early next week. David
  19. nashcom

    Basic string manipulation

    Hi James I was using a character array, but it'd be good to come into the 21st century! I'm using C++ Builder 5 Pro, so AnsiString examples would be great. David
  20. nashcom

    Basic string manipulation

    I need to open a text file as input, extract some data from it, saving it to another file. I'm reading through the source file line by line using something along the lines of: while (!spoolfile.eof()) { spoolfile.getline(buff, sizeof(buff)); However, I'm not sure how to extract the...

Part and Inventory Search

Back
Top