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 TouchToneTommy 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. mvvilleza

    Convert to a string to Uppercase (Adobe Designer)

    Hi! Would like to ask help re: conversion of a string to uppercase in Adobe Designer. I have tried using the ff: using FormCalc TextFieldname.rawvalue = Upper(TextFieldname.rawvalue) using JavaScript TextFieldname = TextFieldname.ToUpperCase(); Both did not work properly. Am I...
  2. mvvilleza

    Batch File Scheduled Task

    Yes, I know that. My question is why? Also, my objective is to make the dos window appear whoever is logged in.
  3. mvvilleza

    Batch File Scheduled Task

    Hi All, I have a batch file to run as a scheduled task. If i use my account w/c is a domain admin account in the runas of the task, the task works fine and te dos window appears. But if i use a different account that also has admin rights, the task is working but the dos window does not appear...
  4. mvvilleza

    Getting %Process Time for a Process

    Hi, I'm trying to generate CPU usage for a particular process. However, I found out that the CPU usage per process is the sum of all %Process time of each CPU. That means if your %Process Time is 890 and you have 15 CPUs as seen on task manager, divide the 890 with 15 and you get 59.3%...
  5. mvvilleza

    Unable to query DN on a different domain

    Hi all, I'm trying to get the DN of a list of users from a text file. The script runs if i query Domain A using my domain account that resides on Domain A. But if i try to query Domain B using my same account on Domain A it says that the user doesn't exist. Although i can query users using my...
  6. mvvilleza

    Unable to Browse Microsoft and Antivirus Websites

    Hi all, Here's my problem, on a windows 2003 server: 1. I do an nslookup on microsoft.com and any antivirus site, nslookup is able to resolve the IP address 2. If i ping the names, ping says could not find host. 3. Moreso, i cannot browse these sites. I believe this is caused by a virus, i...
  7. mvvilleza

    Square Brackets in Switch Command

    Thanks crobin1, your solution is great. To EBGreen, You are correct, i'm trying to add a 0 to a single digit number from 1 to 9. i just assigned 5 in $a, if you notice the question is about square brackets in a switch command.
  8. mvvilleza

    Square Brackets in Switch Command

    Hi all, Can i use square brackets with the switch command? Eg. $a=5 switch($a) { [1-9]{$a="0"+$a} } $a My desired output is 05.
  9. mvvilleza

    Displaying a variable alongside a character

    Hi all, Found out the solution: $a=1 switch($a) { 1{$a="12"} } $a Thanks for your help.
  10. mvvilleza

    Displaying a variable alongside a character

    Hi to both of you, Both of your solutions did work. Re: my second question, i'm trying to use the switch command and normally the result is displayed. I don't want the result displayed. As a sample code: a=0 switch($a) { 0{"12"} } Then, if i type $a it should display 12. I've done this in...
  11. mvvilleza

    Displaying a variable alongside a character

    Another question is how do i tell switch not to display output to screen? Similar to Out-null
  12. mvvilleza

    Displaying a variable alongside a character

    Hi all, How can i display a variable alongside another character, something like: $a = 1 If i type $a0 on the PS prompt it does not display any result. PS D:\Test> $a=1 PS D:\Test> $a0 PS D:\Test> My desired output is 10. I'm just new to powershell.
  13. mvvilleza

    Using Print setup on Lotus Notes via Terminal Server

    Hi all, I have configured Lotus Notes 5 on a terminal server. Already installed printer drivers that is the exact printer installed on the user's computer. But when trying to print from lotus notes and selecting print setup to change the paper size the print setup button does not respond to...
  14. mvvilleza

    Negative values on %Physical Memory Used

    Hi all, MOMServer: Windows 2003 Std SP1 MOM 2005 MOMClients: Windows 2003 SP1/Windows 2003 R2 SP1 3GB+ Memory We're having problems to some Windows 2003 clients over 3GB memory. When we collect the Memory used, it has negative values. Tried adding /3GB and /PAE switches but it doesn't solve...
  15. mvvilleza

    Scheduled Task Window Does Not Show

    Hi all, Created a batch file and made it a scheduled task. Problem is, the dos window does not appear when the task is running. And you will see on the Scheduled Tasks folder that the job is running. Pls help.
  16. mvvilleza

    Issue on database name is numeric

    That's the convention used by our vendor, anyway your suggestion worked. Thanks a lot
  17. mvvilleza

    Issue on database name is numeric

    Hi all, I recently run backup log dbname with no_log where dbname is a number, and i got a syntax error message. Is there a document from microsoft regarding this error?
  18. mvvilleza

    Search file pairs

    Correction: actually, i just want to seach same files with and without the ds. These files have a common extension w/c is .img. We have several files with .img extension and i want to list files of name filex.img and filex.ds.img only (where x is common for both files).
  19. mvvilleza

    Search file pairs

    actually, i just want to seach files with or without the ds. These files have a common extension w/c is .img. We have several files with .img extension and i want to list files of name filex.img and filex.ds.img only (where x is common for both files).
  20. mvvilleza

    Search file pairs

    Thanks. But it does not answer my problem. I'd like to list all pairs maybe using wildcards since i'm searching for files with ds and without ds.

Part and Inventory Search

Back
Top