The computer can not read your mind. You have to know what you want to rename even if it is a part of the name or even something that is in the folder. Other wise you have to ask the user a question as to the name. Can you provide one of these like a partial name... ren New* Old* The * means any folRead more
The computer can not read your mind. You have to know what you want to rename even if it is a part of the name or even something that is in the folder. Other wise you have to ask the user a question as to the name.
Can you provide one of these like a partial name…
ren New* Old*
The * means any folders that start with the name new so like NewFolder will be renamed OldFolder and so on.
Or if there is a file that will exist in the folder that we can find. Something.
i had this "subdate" routine laying around from another post and recycled it.@echo off & setlocal enabledelayedexpansion:: filename is from whereever the logfile is derived from: dir, set/p, etc.for /f "tokens=1,2 delims=_" %%a in (filename) do set d8=%%~nb & set ff=%%a::------ pseudo-date cRead more
i had this “subdate” routine laying around from another post and recycled it.
@echo off & setlocal enabledelayedexpansion :: filename is from whereever the logfile is derived from: dir, set/p, etc. for /f “tokens=1,2 delims=_” %%a in (filename) do set d8=%%~nb & set ff=%%a ::—— pseudo-date components creation set mo=_%d8:~4,2% set day=_%d8:~6,2% set yr=%d8:~0,4% set mo=%mo:_0=% ::—— begin date subtraction set /a day=%day:_0=%-1 if !day! neq 0 goto :ok set offs=0 for /L %%a in (1 1 12) do ( if %%a equ 8 set /a offs=1 set /a test=”(%%a+!offs!)%%2″ set /a nn%%a=30+!test! ) set /a test=”yr%%4″ set nn2=28 if !test! equ 0 set /a nn2+=1 :: foll. just eliminates an IF (test for month=0) by using modulo and offset set /a mo=”(%mo%+10)%%12+1″ if !mo! equ 12 set /a yr-=1 set day=!nn%mo%! ::—— end date subtraction :ok set newname=!yr!0!mo:~-2!0!day:~-2! :: just for debugging: remove “echo” when ready to roll. echo ren %filename% %ff%_%newname%.log
vis.basic or vbscript are probably what you're wanting. here's a vis basic programi wrote to put the clipboard contents into a text file. The "dialogue" is simply thepath/filename where the user wants the clipboard content to go. (It eliminates havingto use "notepad", which i hate, and doing a filesRead more
vis.basic or vbscript are probably what you’re wanting. here’s a vis basic program i wrote to put the clipboard contents into a text file. The “dialogue” is simply the path/filename where the user wants the clipboard content to go. (It eliminates having to use “notepad”, which i hate, and doing a filesave.)
Attribute VB_Name = “clip”
Sub main() ‘write clipboard into a file X = Clipboard.GetText c = InputBox(“CLIPBOARD CONTENT: ” + Chr(10) + X + Chr(10) + “file, [line#]: “) if ltrim(c)=”” then end p = InStr(c, ” “) If p > 0 Then Line = Mid(c, p + 1) c = Left(c, p – 1) Open “c:\windows\tempor~1\temp” For Output As #3 Open c For Input As #1 For i = 1 To Line If EOF(1) Then Exit For Line Input #1, k Print #3, k Next i Print #3, X Do While Not EOF(1) Line Input #1, k Print #3, k Loop Close Shell (“move /y c:\windows\tempor~1\temp ” + c), 2 Else On Error GoTo 10 Open c For Append As #1 GoTo 20 10 Resume 11 11 Open c For Output As #1 20 On Error GoTo 0 Print #1, X Close #1 End If End Sub ‘———————– vbscript uses the same command, “inputbox”, so you don’t have to aquire or posess a vis.basic platform to use the function, but has the slight disadvantage that it is not compiled so your batch file has to go like: cscript .\getdata.vbs and the “getdata” will probably have to write the data through an intermediate squibfile i believe (i’ve gotten real rusty from not using vbscript for awhile).
I don't know enough about Forms to help out with that portion.There are lots of places on the web that could provide instructions. Google around to see what you can find.As far as the Find button goes, if I were you, I would include instructions on how to add the Find icon to the toolbar. As I outliRead more
I don’t know enough about Forms to help out with that portion.
There are lots of places on the web that could provide instructions. Google around to see what you can find.
As far as the Find button goes, if I were you, I would include instructions on how to add the Find icon to the toolbar. As I outlined in my previous post, the steps are quite simple. If the user can’t pull down a menu and drag and drop an icon, well, what can I say.
Can they press Ctrl-f? That will bring up the Find box.
If you really want to add a custom button, then you’ll need a Macro. You’ll also need to make sure that Macros are enabled on any machine that will use this button. If they are not enabled, then you’ll need to provide instructions to the user as to how to enable Macros. If they are able to follow those instructions, then they should be able to follow the instructions to add the Find icon to a toolbar, which would then be available in any and all spreadsheets they open. You’d be doing the user a big service by teaching them something new while making the Find icon available whenever they need it.
All that said, here’s your button:
1 – Press Alt-F11 to open the VBA editor. 2 – Click Insert…Module 3 – Paste the following code into the pane that opens.
Sub MyFind()
Application.Dialogs(xlDialogFormulaFind).Show
End Sub
3 – Close the VBA editor 4 – Create a shape in your workbook or on your form. 5 – Right Click and choose Assign Macro. 6 – Locate MyFind in the list and double-click 7 – Back in the spreadsheet, click anywhere to deselect the shape 8 – Mouse-over the shape and the cursor should become a link-finger. 9 – Click the shape
You should be able to find it in Search (new magic start menu). However, this is the file path to the NotePad file: C Drive > Windows > Notepad.exeYou could make a shortcut to the notepad.exe file on your desktop then drag it onto the Quick Launch bar bottom left. It is a very useful place forRead more
You should be able to find it in Search (new magic start menu). However, this is the file path to the NotePad file: C Drive > Windows > Notepad.exe
You could make a shortcut to the notepad.exe file on your desktop then drag it onto the Quick Launch bar bottom left. It is a very useful place for it as it can then be used everywhere including the internet. If you right click the file and create a shortcut it will offer to put it on the desktop for you as it is not allowed from within the Windows folder.
Hi, You should create your own thread if you ahve a question and want help.In general, you have a few options to do the upgrade.1- You an go through the 'Get Windows 10' option icon.2- You can do the Download Windows 10 directly and install it.3- You can run the media creation tool (as above) to creRead more
Hi, You should create your own thread if you ahve a question and want help. In general, you have a few options to do the upgrade. 1- You an go through the ‘Get Windows 10’ option icon. 2- You can do the Download Windows 10 directly and install it. 3- You can run the media creation tool (as above) to create a DVD in order to install it from outside of Windows, on machines which are having more software issues and you just want to do a clean install, or if you want to install it on multiple machines and do not want to do the download for each one of them. The first two will walk you through everything without needing any instructions as long as you read each of the questions before hitting OK (always recommended). The last option is more for tech people who would know how use the ISO image to create the install media and want to do this extra step to possibly save a few steps later. A lot of people want to trash MS but they are still be best game in town. Apple is not any better, they often try to make things appear to be simpler but that is because they tend to hide options, this means that if you want to do something a little differently than they think you should do it, then you have a lot of trouble forcing it to do it your way. With Windows you can often do something 4 or 5 ways depending on your preferences but with Apple you have to learn their way of doing things and learn a whole list of shortcut keys to do otherwise simple things. Yes, short cuts are great and save time, especially when you do them repeatedly, but if say you are not sure how to do something that you rarely do, with Windows you can probably find one of the 6 possible ways to do it yourself but with Apple, it is either use the short cut or go through an elaborate multiple step process that may be even harder to find. They are no better than Microsoft, they control everything from the hardware to the software to how your iPhone will connect. If you really want something different, be brave, build your own machine and install a free operating system like one of the Linux distributions. I have worked with Apple and even a little with Linux and in general, I prefer Windows (I just skip a few when I can (ME, Vista, & 8 (though not as completely as the other two)).
You have to be a little bit crazy to keep you from going insane.
Hi,You should look at using Volume Shadow copy (Volume Shadow Service / VSS) for open/locked files on WinXP, Win7 or newer recomended, NTFS drives.NTFS formatted drives are a base level requirement for copying open/locked files like Outlook PST files. If you are not familiar with the differences betRead more
Hi, You should look at using Volume Shadow copy (Volume Shadow Service / VSS) for open/locked files on WinXP, Win7 or newer recomended, NTFS drives.
NTFS formatted drives are a base level requirement for copying open/locked files like Outlook PST files. If you are not familiar with the differences between FAT(FAT32/FATEX) and NTFS drives then you should do some research now to understand file system locking and management options available.
If you are running Exchange 2010 and have “good storage space” for all of your Outlook/Exchange users, I strongly recommend importing all PST files to Exchange and not allowing local “c:” drive PST files. Read more here: PST import request.
I know this is not an explicit answer but I hope it helps you in the right direction for your company. I’m happy to help with the actual details on this topics if you think either reference might be what you are looking for.
@Echo OffSet _FTPServerName= ftp site addressSet _UserName= usernameSet _Password= passwordSet _LocalFolder= C:\FTPFilesSet _RemoteFolder= Public\Reports\CSVSet _Filename= report.csvSet _ScriptFile=ftp1:: Create script >"%_ScriptFile%" Echo open %_FTPServerName%>>"%_ScriptFile%" Echo %_UserRead more
@Echo Off Set _FTPServerName= ftp site address Set _UserName= username Set _Password= password Set _LocalFolder= C:\FTPFiles Set _RemoteFolder= Public\Reports\CSV Set _Filename= report.csv Set _ScriptFile=ftp1 :: Create script >”%_ScriptFile%” Echo open %_FTPServerName% >>”%_ScriptFile%” Echo %_UserName% >>”%_ScriptFile%” Echo %_Password% >>”%_ScriptFile%” Echo lcd %_LocalFolder% >>”%_ScriptFile%” Echo cd %_RemoteFolder% >>”%_ScriptFile%” Echo binary >>”%_ScriptFile%” Echo get %_Filename% >>”%_ScriptFile%” Echo quit :: Run script ftp -s:”%_ScriptFile%” Del “%_ScriptFile%”
Rename A Folder With Unknown Name Via Cmd
The computer can not read your mind. You have to know what you want to rename even if it is a part of the name or even something that is in the folder. Other wise you have to ask the user a question as to the name. Can you provide one of these like a partial name... ren New* Old* The * means any folRead more
The computer can not read your mind. You have to know what you want to rename even if it is a part of the name or even something that is in the folder. Other wise you have to ask the user a question as to the name.
Can you provide one of these like a partial name…
ren New* Old*
The * means any folders that start with the name new so like NewFolder will be renamed OldFolder and so on.
Or if there is a file that will exist in the folder that we can find. Something.
See lessHow To Rename The Log File With .Bat File
i had this "subdate" routine laying around from another post and recycled it.@echo off & setlocal enabledelayedexpansion:: filename is from whereever the logfile is derived from: dir, set/p, etc.for /f "tokens=1,2 delims=_" %%a in (filename) do set d8=%%~nb & set ff=%%a::------ pseudo-date cRead more
@echo off & setlocal enabledelayedexpansion
:: filename is from whereever the logfile is derived from: dir, set/p, etc.
for /f “tokens=1,2 delims=_” %%a in (filename) do set d8=%%~nb & set ff=%%a
::—— pseudo-date components creation
set mo=_%d8:~4,2%
set day=_%d8:~6,2%
set yr=%d8:~0,4%
set mo=%mo:_0=%
::—— begin date subtraction
set /a day=%day:_0=%-1
if !day! neq 0 goto :ok
set offs=0
for /L %%a in (1 1 12) do (
if %%a equ 8 set /a offs=1
set /a test=”(%%a+!offs!)%%2″
set /a nn%%a=30+!test!
)
set /a test=”yr%%4″
set nn2=28
if !test! equ 0 set /a nn2+=1
:: foll. just eliminates an IF (test for month=0) by using modulo and offset
set /a mo=”(%mo%+10)%%12+1″
if !mo! equ 12 set /a yr-=1
set day=!nn%mo%!
::—— end date subtraction
:ok
set newname=!yr!0!mo:~-2!0!day:~-2!
:: just for debugging: remove “echo” when ready to roll.
echo ren %filename% %ff%_%newname%.log
How To Read Ini Files In Win Batch?
Well, this is random.
Well, this is random.
See lessHow To Make Dialog Box Interacting With Bat
vis.basic or vbscript are probably what you're wanting. here's a vis basic programi wrote to put the clipboard contents into a text file. The "dialogue" is simply thepath/filename where the user wants the clipboard content to go. (It eliminates havingto use "notepad", which i hate, and doing a filesRead more
vis.basic or vbscript are probably what you’re wanting. here’s a vis basic program
i wrote to put the clipboard contents into a text file. The “dialogue” is simply the
path/filename where the user wants the clipboard content to go. (It eliminates having
to use “notepad”, which i hate, and doing a filesave.)
Attribute VB_Name = “clip”
Sub main()
‘write clipboard into a file
X = Clipboard.GetText
c = InputBox(“CLIPBOARD CONTENT: ” + Chr(10) + X + Chr(10) + “file, [line#]: “)
if ltrim(c)=”” then end
p = InStr(c, ” “)
If p > 0 Then
Line = Mid(c, p + 1)
c = Left(c, p – 1)
Open “c:\windows\tempor~1\temp” For Output As #3
Open c For Input As #1
For i = 1 To Line
If EOF(1) Then Exit For
Line Input #1, k
Print #3, k
Next i
Print #3, X
Do While Not EOF(1)
Line Input #1, k
Print #3, k
Loop
Close
Shell (“move /y c:\windows\tempor~1\temp ” + c), 2
Else
On Error GoTo 10
Open c For Append As #1
GoTo 20
10 Resume 11
11 Open c For Output As #1
20 On Error GoTo 0
Print #1, X
Close #1
End If
End Sub
‘———————–
vbscript uses the same command, “inputbox”, so you don’t have to aquire or
posess a vis.basic platform to use the function, but has the slight disadvantage
that it is not compiled so your batch file has to go like:
cscript .\getdata.vbs
and the “getdata” will probably have to write the data through an intermediate squibfile i believe (i’ve gotten real rusty from not using vbscript for awhile).
Digital Orchestrator Pro Set-Up On Win.
Is W7 32-bit or 64-bit?install tutorial digital orchestrator pro windows 7http://is.gd/ND4OXbdigital orchestrator pro windows 7http://is.gd/cY8M0T
install tutorial digital orchestrator pro windows 7
http://is.gd/ND4OXb
digital orchestrator pro windows 7
http://is.gd/cY8M0T
Find Button Within Excel Spreadsheet
I don't know enough about Forms to help out with that portion.There are lots of places on the web that could provide instructions. Google around to see what you can find.As far as the Find button goes, if I were you, I would include instructions on how to add the Find icon to the toolbar. As I outliRead more
There are lots of places on the web that could provide instructions. Google around to see what you can find.
As far as the Find button goes, if I were you, I would include instructions on how to add the Find icon to the toolbar. As I outlined in my previous post, the steps are quite simple. If the user can’t pull down a menu and drag and drop an icon, well, what can I say.
Can they press Ctrl-f? That will bring up the Find box.
If you really want to add a custom button, then you’ll need a Macro. You’ll also need to make sure that Macros are enabled on any machine that will use this button. If they are not enabled, then you’ll need to provide instructions to the user as to how to enable Macros. If they are able to follow those instructions, then they should be able to follow the instructions to add the Find icon to a toolbar, which would then be available in any and all spreadsheets they open. You’d be doing the user a big service by teaching them something new while making the Find icon available whenever they need it.
All that said, here’s your button:
1 – Press Alt-F11 to open the VBA editor.
2 – Click Insert…Module
3 – Paste the following code into the pane that opens.
3 – Close the VBA editor
4 – Create a shape in your workbook or on your form.
5 – Right Click and choose Assign Macro.
6 – Locate MyFind in the list and double-click
7 – Back in the spreadsheet, click anywhere to deselect the shape
8 – Mouse-over the shape and the cursor should become a link-finger.
9 – Click the shape
Click Here Before Posting Data or VBA Code —> How To Post Data or Code.
Solved Is NotePad And OneNote The Same In Windows 8?
You should be able to find it in Search (new magic start menu). However, this is the file path to the NotePad file: C Drive > Windows > Notepad.exeYou could make a shortcut to the notepad.exe file on your desktop then drag it onto the Quick Launch bar bottom left. It is a very useful place forRead more
C Drive > Windows > Notepad.exe
You could make a shortcut to the notepad.exe file on your desktop then drag it onto the Quick Launch bar bottom left. It is a very useful place for it as it can then be used everywhere including the internet. If you right click the file and create a shortcut it will offer to put it on the desktop for you as it is not allowed from within the Windows folder.
NotpPad is a simple but very useful text editor. One Note does a whole heap more, see here:
http://en.wikipedia.org/wiki/Micros…
EDIT:
I’ve assumed your system drive is C, as mostly, but if not it will be the same path for another drive letter.
Always pop back and let us know the outcome – thanks
message edited by Derek
Windows 10 Downloaded But Nothing Happens..
Hi, You should create your own thread if you ahve a question and want help.In general, you have a few options to do the upgrade.1- You an go through the 'Get Windows 10' option icon.2- You can do the Download Windows 10 directly and install it.3- You can run the media creation tool (as above) to creRead more
You should create your own thread if you ahve a question and want help.
In general, you have a few options to do the upgrade.
1- You an go through the ‘Get Windows 10’ option icon.
2- You can do the Download Windows 10 directly and install it.
3- You can run the media creation tool (as above) to create a DVD in order to install it from outside of Windows, on machines which are having more software issues and you just want to do a clean install, or if you want to install it on multiple machines and do not want to do the download for each one of them.
The first two will walk you through everything without needing any instructions as long as you read each of the questions before hitting OK (always recommended). The last option is more for tech people who would know how use the ISO image to create the install media and want to do this extra step to possibly save a few steps later.
A lot of people want to trash MS but they are still be best game in town. Apple is not any better, they often try to make things appear to be simpler but that is because they tend to hide options, this means that if you want to do something a little differently than they think you should do it, then you have a lot of trouble forcing it to do it your way. With Windows you can often do something 4 or 5 ways depending on your preferences but with Apple you have to learn their way of doing things and learn a whole list of shortcut keys to do otherwise simple things. Yes, short cuts are great and save time, especially when you do them repeatedly, but if say you are not sure how to do something that you rarely do, with Windows you can probably find one of the 6 possible ways to do it yourself but with Apple, it is either use the short cut or go through an elaborate multiple step process that may be even harder to find. They are no better than Microsoft, they control everything from the hardware to the software to how your iPhone will connect. If you really want something different, be brave, build your own machine and install a free operating system like one of the Linux distributions. I have worked with Apple and even a little with Linux and in general, I prefer Windows (I just skip a few when I can (ME, Vista, & 8 (though not as completely as the other two)).
You have to be a little bit crazy to keep you from going insane.
How To Create Automatic Batch File To Backup Outlook Pst
Hi,You should look at using Volume Shadow copy (Volume Shadow Service / VSS) for open/locked files on WinXP, Win7 or newer recomended, NTFS drives.NTFS formatted drives are a base level requirement for copying open/locked files like Outlook PST files. If you are not familiar with the differences betRead more
You should look at using Volume Shadow copy (Volume Shadow Service / VSS) for open/locked files on WinXP, Win7 or newer recomended, NTFS drives.
NTFS formatted drives are a base level requirement for copying open/locked files like Outlook PST files. If you are not familiar with the differences between FAT(FAT32/FATEX) and NTFS drives then you should do some research now to understand file system locking and management options available.
This is a very good reference for using robocopy to backup open/locked files: http://ithelp.cveg.uark.edu/IT_Help…
If you are running Exchange 2010 and have “good storage space” for all of your Outlook/Exchange users, I strongly recommend importing all PST files to Exchange and not allowing local “c:” drive PST files. Read more here: PST import request.
I know this is not an explicit answer but I hope it helps you in the right direction for your company. I’m happy to help with the actual details on this topics if you think either reference might be what you are looking for.
Thanks.
–Mike Wood
message edited by mikewwood
How To Copy Yesterday File From Ftp Via A Batch File?
@Echo OffSet _FTPServerName= ftp site addressSet _UserName= usernameSet _Password= passwordSet _LocalFolder= C:\FTPFilesSet _RemoteFolder= Public\Reports\CSVSet _Filename= report.csvSet _ScriptFile=ftp1:: Create script >"%_ScriptFile%" Echo open %_FTPServerName%>>"%_ScriptFile%" Echo %_UserRead more
Set _FTPServerName= ftp site address
Set _UserName= username
Set _Password= password
Set _LocalFolder= C:\FTPFiles
Set _RemoteFolder= Public\Reports\CSV
Set _Filename= report.csv
Set _ScriptFile=ftp1
:: Create script
>”%_ScriptFile%” Echo open %_FTPServerName%
>>”%_ScriptFile%” Echo %_UserName%
>>”%_ScriptFile%” Echo %_Password%
>>”%_ScriptFile%” Echo lcd %_LocalFolder%
>>”%_ScriptFile%” Echo cd %_RemoteFolder%
>>”%_ScriptFile%” Echo binary
>>”%_ScriptFile%” Echo get %_Filename%
>>”%_ScriptFile%” Echo quit
:: Run script
ftp -s:”%_ScriptFile%”
Del “%_ScriptFile%”
Does this help?