Vbscript Copy All Files From One Folder To Another

This Tutorial explains how to copy specific file from one folder to another folder by using simple VBA Programming or Macro. Transfering Files From Local Computer to Connected Remote Desktop Session HAL9000 Updated 3 years ago Windows 27 Comments It’s quite easy to transfer files between computers on the network, all you have to do is select the folder to be shared and other users can find and connect to that folder and the files inside. File, System. Let's say instead of copying /path/to/conf_file. This tutorial does not even scratch the surface of what is possible using make, but is intended as a starters guide so that you can quickly and easily create your own makefiles for small to medium-sized projects. I have windows XP. My crude but effective solution is a 7-line script. Can Any one help me. Organize music files based on ID3 tags. The IUSR_machinename user ID must have write permissions to copy a file from one directory to another. All modern GUI operating systems let you use the familiar copy and paste functions to copy files and other objects. There is ready to use VBS script to show this options, copy it to new file: showMyComputer. To copy file permissions from one file to another file, use chmod command with the --reference switch in the following syntax, where reference_file is the file from which permissions will be copied rather than specifying mode (i. Again, display a count of the number of files copied. I want to use a VBScript to copy all the contents (subfolders and files) from FolderA to FolderB. VBScript to move all files from one folder to another. You can duplicate any file in Google Drive by right-clicking the file and selecting "Make a Copy" but this option is not available for folders. It can't be used to copy a complete folder to another location on the disk. One such check is before opening a file, check whether it is already open or not. Quite a number of programmers learned scripting on a PC running DOS. A WSF file can include multiple VBS files. I'd like a batch script in Windows with which I can copy one directory to another. I want to extract (or just copy) all the. Then I created another '2. Is it a permissions issue with moving to another server? I can get the MOVE batch file to work when moving files to different locations on the same. I have windows XP. There is no problem to run EXE files or change file system from JS , but you MUST allow IE to do so. With this all-in-one DVD Cloner, DVD Ripper software, you can backup your DVD movies in flexible mode. csh could also write those names to the output, as an alternative). (like 'this' or 'that') then go back to reading the text file until I. WWW FAQs: How do I include one HTML file in another? 2007-09-20 : The easiest way, by far, is to use "server side includes" in your HTML. Today i will show you how to copy file from one folder to another or same folder. Any insight here. But all of this can be avoided with a offline browser. We will provide the folder source, destination folder and then we test destination folder, if folder present all bak files copy to destination folder and delete old backup's. A warning dialog will appear. We can easily create a copy or duplicate file to original in PHP with PHP's built in function called copy(). Greasemonkey-Script. Step 2 - click Files->Copy if you need to copy these files or click Files->Cut if you need to move these files. For example to copy all files from one directory to another directory and also set hidden attribute for all the files you can trigger ‘Robocopy’ with the below syntax. This script goes through the component tree and adds all the associated files to a string list. The following scripts demonstrate how to copy a file from one local folder to another. The CopyFile method, a file system object method, performs the file copy operation. How to Copy Google Calendar Events Copying all events from one Google Calendar into another requires you to first export the calendar, then you can import the calendar file into a separate calendar. The first folder is the outputs of previous build while the latter is the output of the current build. NET Framework's implementation of File. A PowerShell script can run another script using the same syntax as used in the console. Hi, i have a job which copies. We will provide the folder source, destination folder and then we test destination folder, if folder present all bak files copy to destination folder and delete old backup's. Organize music files based on ID3 tags. Our software and services protect against more risks at more points, more completely and efficiently, enabling confidence wherever information is used or stored. New folder names can be constructed from file tags and patterns. Batch Script - Overview. where to change the above script ? suppose if i want to move to this location only "Shared Documents" Please share ASAP – sasikanth dasari Aug 3 '18 at 21:15. To transfer files to another computer, open an FTP connection to that computer. Copying stuff manually is a bore but if you are only copying to a couple of servers it is quicker to do it manually but if you have to copy to several servers it would be quicker to use a script. Hi All, Can anyone help me out in writing java code to copy a list of files from one folder to another folder. txt 2) Folder1: No files Folder2: x. Step 6: Enjoy! That's it! You're all done! In five fairly simple steps, you have backed up your old wiki and used the backup files to populate a new one. In this example we want just the FLAC files to be copied toa sub-folder called ripcaster within Public. I want to iterate through all files and check the file size. This is a useful technique if you have to reprocess a raw file in Lightroom to take advantage of newer features such as chromatic aberration correction. ZIP archives using PHP can be just as simple as creating them on your desktop. Merge all CSV or TXT files in a folder in one worksheet Example 1. There is also an article how to access a Linux partition when running Windows and how to access a Windows partition when running Linux. Browse to the location of your files you want to copy. txt Thanks in advance. grunt-contrib-copy v1. I have below ex:. publish(file) generates a view of the specified MATLAB ® code file and output in an HTML format that can be used for sharing. In this post you will learn how to copy list items from one list to another using Sharepoint Designer workflow, for this you need basically two lists, Source List and Destination List. Its targetted to requirements when you have multiple sources and destination is one. With the VBA macro from this guide, you can execute all your anti-Junk E-mail rules against your Junk E-mail folder with a single click. Sync files from one folder to another This simple piece of code can sync source folder files into destination folder. At some point of time, just like me, you might come across the need to migrate your MySQL database, from one server to another. The xcopy command is a Command Prompt command used to copy one or more files or folders from one location to another location. Open it and copy the contents to a CD or a thumb drive. You can only copy or move a single file to another file. How to manage files and folders with PowerShell and CSOM ‘ How can we manage these items…? ‘ ‘ This is a pure guide to using PowerShell to manage and manipulate files and folders, libraries and all document management related tasks in a SharePoint Online or OneDrive for Business environment. PHP's ZIP class provides all the functionality you need! To make the process a bit faster for you, I've code a simple create_zip function for you to use on your projects. If you copy all of the files to another location, you can reload just from the QVDs by running the load in the front end application. So I proposed him automated solution and this how I achieved the task in couple of minutes. I need to know how to copy actions I created on one computer and install it on another. But, how does one identify fonts in PDF files in Windows 10 when you see and like one? you will find a roster of all the fonts used in that PDF file. You dont need to copy data manually. How to copy multiple files via command prompt without appending them into a single file? I want to create a batch file that copies multiple files I specified from a directory and use a command once (e. Hi all, as the title suggests, (my batch script mojo is quite out of date) I need a small batch script to copy a file from C:\PATH\filename. Is this pliable?. This 'feature' was added to Outlook beginning with Outlook 2007 SP2. Copy system databases backups made on [Server A] to [Server B] (step I. Due to a crash of my external HD I've lost all the snippets of code I've collected over the years I can't reproduce the code i'm looking for, so here I am In col E I have a list of files which I want to be copied to the specific location which is in col G. We invite you to follow us on Twitter and Facebook. In my curious ways :p Im wondering how to make a exact copy of all files and folders from one drive to another. cp -a /source/. Open Entourage/Outlook and you have all your old mail as before. Batch file FOR loop to copy folders only if they exist in another folder. Do not use /C with @file lists. I have a simple script that maps a shared folder from one of our servers. Find And Copy Certain Type Of Files From One Directory To Another In Linux. Explains how to copy a folder and all of its contains (such as files and sub-directories) using cp command line options under Linux operating systems. One such check is before opening a file, check whether it is already open or not. where to change the above script ? suppose if i want to move to this location only "Shared Documents" Please share ASAP - sasikanth dasari Aug 3 '18 at 21:15. Database developers and DBA can use a SQL Query or SQL Server Management Studio or scripts to copy a database table schemas and data from one database to another database in SQL Server. Copy and Move files and folders. Wildcards can be used within the source string, providing it is the last component in the path, to enable the copying. Official site of TeraCopy, a free utility designed to copy files faster and more secure. We invite you to follow us on Twitter and Facebook. Thanks in advance. The below script makes it relatively easy to copy a user’s entire OneDrive directory into a subfolder in another user’s OneDrive. If your m-file is named AllFunctions. The script also has to be on the same server as the. Can anyone please tell me how to copy a file from one folder to another using vbscripting I had tried this below one from the information provide in the internet. to just copy all of the files. Having the right backup and recovery procedures is crucial to the operation of any database. at end of the source path is a specific cp syntax that allow to copy all files and folders, included hidden ones. Let me explain. Find out how to work some SSH magic, by transferring a file from one machine to another from a third. You can use the DBMS_FILE_TRANSFER package, or you can use Streams propagation. Copying files from one folder to another on the QNAP using SSH In this example we have some FLAC music files in Multimedia and all sub-folders that we want to COPY to Public. Ask Question Asked 2 years, And this one copy folders, subfolders and files. I need add a javascript file reference into another jav. In a similar fashion to the “cd” command, type “copy” after the chevron, followed by a space then “combine. User should have administrator/read and write permissions on the servers. Set objFSO = CreateObject("Scripting. Basically trying to copy over a file from one folder to another. How to write a shell script for the same pls hepl me out. (On Windows, file. See if this gets you started. If you hold down the Shift key, a copy of a script can be dragged to a different folder. I can copy the contents no problem using get-content and then paste the content using the set-content (which i know is not correct as this is overwriting the file) i need to just paste it into the other file after the last tag. @awe- For your purposes, it not necessary to merge the files, you can access the data and scripts of one file from the other by simply adding the other as a data source. Copy all Excel Files One Folder to Another in VBA Excel 'In this Example I am Coping all excel files from one Folder ("C:\Temp\") to another Folder ("D:\Job\") Sub sbCopyingAllExcelFiles() Dim FSO Dim sFolder As String Dim dFolder As String. Our software and services protect against more risks at more points, more completely and efficiently, enabling confidence wherever information is used or stored. Windows has two command line utilities to copy files/directories from command line. The problem is that I am trying to rename the file with a date in the format "MMDDYYYY" and the expression returns 1 digit for May. How do we do that? By using a phantom querystring, of course. To copy a text file to another folder. Copy or Move one file. Copy SQL Server Analysis Services Dimensions with XMLA. com - 01 Nov 2019 Seth Kenlon (Red Hat) Feed. pdf, School B data. net; Most Efficient Way To Copy Files; Autorun USB to COPY files!. The information below assumes that both of your servers are on the same domain. This batch command searches for a string in files or input, outputting matching lines. I am currently doing a migration which creates a folder inside our user share as a. Copy a folder including all subfolders. ini file and change its state from ON to OFF or vice-versa. table1 SELECT * FROM main. Each buildfile contains one project and at least one (default) target. Is there a way to do that. To select all the files you’d like to zip, press Ctrl and click each. Writing a powershell script to copy files with certain extension from one folder to another the files, often Copy-Item on its own from another remote script. unless the command is being executed from within a batch script. Create the physical locations for master, model, msdb, tempdb, mssqlsystemresource databases noted down at steps I. Then simply pull from this branch (containing only the directory you want to move) into repository B. In this article, Let I show you how to move files from one location to another location using PowerShell script. That being said, you can use scp if you're logged into System B via SSH and want to copy files between System B and System C. ps1 extension. Does anyone know how (if it is possible) to copy a query from one PowerBI file to another. There’s even has a fully functional FTP client on board that opens up a remote directory and a local one, then lets you copy back and forth. DESCRIPTION It can be part of a larger script\tool which genera. now the issue is to try to make it more robust, maybe go out and sense which folder i have acces to. I am trying to copy files with specific date and name to another folder. I need script Copy permissions of files and folders from one server to another I have 2 servers with linux suse10. How to copy or move files from one folder to another based on a list in Excel? If you have a list of file names in a column in a worksheet, and the files locate in a folder in your computor. This article describes how to copy setup tables from one company to another company in Microsoft Dynamics GP and in Microsoft Business Solutions – Great Plains. incremental upload. Converting DOS Batch Files to Shell Scripts. Recursively copy files from one directory to another. Below is a sample script which will get the list of files on a directory, say c:\windows and save it to the file c:\windows\FileList. It has the same effect as copying the files to a new location and then deleting the originals. And another, the file may be opened and locked by an application that is still actively alive in the background even though it’s been closed by the user. Select files and folders you want to copy or move between accounts. Script must be run on the local computer. NET Framework's implementation of File. and easily repeat this when needed (hence why script would be nice). That being said, you can use scp if you're logged into System B via SSH and want to copy files between System B and System C. All m-file names must end with the extension '. Powershell with FileSystem Copy File and exclude files some types files. So if fileA gets put into folder1, it will be copied to folder2 (which is itself, a watch folder for a video conversion program). How to copy files from mapped drive to server via my machine? c# how to copy all files in temporary internet files folder; Copy files from one directory to another; Windows Service to copy files to a Mapped Drive; Copy files to a shared folder with User /pass; copy files from clipboard; question about Temporary ASP. ' Copy the file to a new location without overwriting existing file. Move the entire Identity folder you want to use to the Office xxx Identities folder.  Here’s how. Here two folders are in same application. Source Directory UAE(inside i have another folder Misc with files inside UAE folder). how to add javacript file reference in another javascript file Hi all,I have two javascript files. But the problem is this source directory contains thousands of subdirectories. Start a manual archive process; Outlook 2007 and previous. But you probably already know, for it to work, you will. Consumer users should not do it, as all copied files get their single owner anyway. I am stuck with another problem, copying files from Workspace on Windows. No paths - just file name. PHP: Working with Directories As is necessary for any language, PHP has a complete set of directory support functions. One of my subordinates got an activity to copy putty. I am trying attached script but it doesn’t work well. Copy method does a regular copy and paste that includes formatting and formulas. And also want to exclude one file from source folder. You can have more than one Identity in the Office Identities folder. Use EXIF information to sort image files and organize them in folders. 6 ; Give to the user running SQL Full security rights on the new folders created. Description: When we are dealing with many worksheet, it is a routine thing to copy data from one worksheet to another in Excel VBA. combine multiple text files into one text file. However, as one starts using Linux on a regular basis, handling files, copying, using shell script all becomes quite effortless and straightforward. Any insight here. How to use the shell function in vb6. Batch file FOR loop to copy folders only if they exist in another folder. - Garrett Albright Dec 24 '13 at 16:40. js file extension and place it into JavaScripts folder under Adobe Acrobat installation. The script will automatically copy all your email messages from your old Gmail inbox to another mailbox that could be on any web service. If you hold down the Shift key, a copy of a script can be dragged to a different folder. pre { overflow:s | The UNIX and Linux Forums. You can also copy within one account between two different folders. table1;" or something similar. I want to select some files based on recent request Id (which I am retrieving using sql code). Copying multiple files in a list, from one folder to another I have an excel spreadsheet listing over 300 hundred pictures that I need to send to find. Copy Description. by graff (Chancellor) on Jun 11, 2003 at 06:27 UTC: I want to encourage you -- this is a nice exercise for learning a lot about how to use Perl effectively -- but I have to confess that for this particular problem (if I understand it right), Perl may not be the most effective tool. Can anybody tell me how that can done through any function in windows. The information below assumes that both of your servers are on the same domain. This article shows how to copy a database from one server to another server using SQL Server Management Studio. VBScript to move all files from one folder to another. 2) Open file name nfile. By the way, the following code illustrates the various points I discussed in Corporate VBA Standards For Excel Users Who Program. How to Copy Files between Windows Systems with PowerShell Copy-Item As a longtime Linux user I have always enjoyed the ease of being able to copy files between systems with scp, ssh and other means. However the one piece that is still missing in Google Drive is the ability to copy folders. txt ) So a sample folder will have something Batch (. EXPLANATION: To copy the. Merge all data from the csv files in a folder into a text file Note: with a few small changes you can also use this for txt files. IMPORTANT NOTE: The following is a sample script, provided only to illustrate one way to approach this issue. pst), Next; Browse to the folder you copied (you may have to click "All Files *. Question: My site is now at 20 HTML pages and will be growing. According to your description, you want to move files from one folder to another using VBA. I have a bunch of pictures on my laptop that I want to copy up to the SAN so they do not get lost," she said. Hey guys, I'm looking for a script that i can use to copy network folders from one location to another. vbs and filenames. To copy all the Calendar items to another folder, you must first display all the items in a tabular view. WWW FAQs: How do I include one HTML file in another? 2007-09-20 : The easiest way, by far, is to use "server side includes" in your HTML. Hello every one, my question is how to copy from one directory to another directory (Windows)? clearly: c:\perl> present working directory I have to copy all the text files(*. A simple form of transaction processing is done by moving files from one computer to another, for example insurance claims from a pharmacy or doctor's office (the client site) to an insurance clearinghouse (the central site). I'm new to powershell, but I need to read a text file and copy sections out to another text file. If you trust this file et cetera, click Yes and, like magic, your. Using Copy-Item to copy files "To copy a file from one folder to another, what cmdlet do you think you might use?" I asked. See how to send all files of a folder as email. It is easy to copy the files from one document library using the Open with Explorer command under the Library tab in Library Tools, but it won't copy the meta data. I have windows XP. NSIS packs & compresses all your files into a creates a single. Here’s how to fix it:. "Copy-File," she posited. Option Explicit ' The list of files to copy. The IUSR_machinename user ID must have write permissions to copy a file from one directory to another. Now, let us assume we have an Excel file with a list. Instead of creating the same ODBC configurations on each Developers PC, Is there any way to copy the "ini" file or other procedure to copy the ODBC configurations from one PC to another?. I am currently doing a migration which creates a folder inside our user share as a. After the analysis has been completed, the output file is closed, the libraries are unloaded, and the directory is changed back to where the scripts reside. The Copy command - This command allows you to copy files from one location to another. First at all you have to enable some options in IE (default hidden). By default, the destination file is overwritten if it already exists. Here is a basic script which copies all of the newer and orphaned files from one folder to another, using a previously created session: load "Sync Laptop " sync update:left->right. The following example shows the different variants of the copy command. Another way to export from a working copy is to right drag the working copy folder to another location and choose Context Menu → SVN Export versioned items here or Context Menu → SVN Export all items here or Context Menu → SVN Export changed items here. By now, you've learned a little about the structure of the filesystem; and you've learned how to create files and directories. bat script By neokrates, written on October 30, 2010: cmd bat snippet. Hi All, I am trying to copy the contents of a file and then paste this content into a specific location within another file. To make a setup executable, you have to write a script of what needs to happen. For Outlook 2010 and Outlook 2013. Hi All, I'm looking to copy files from one R3 directory to another. I have personally seen users making complicated scripts for such a task, if you are an ordinary computer user with no programming background, you are still lucky. To try and cover some common file copy operations, 3 tests were conducted; Test 1: Copy a number of small to medium files from one HDD to another. Let's consider a Scripting. 01: Winscp transfer files from one UNIX server to another (image credit Winscp website) Linux / UNIX / OS X SSH scp Client Examples. I have a folder with approx 10000 images, and I need to copy about 500 of them to another folder. See how to send all files of a folder as email. A script file is a simple text file containing AutoIt keywords and functions that tell AutoIt what you want it to do. Please help. VBA to List files from all folders and sub-folders. These methods are: aqString. I was moving attachments to another folder but the process should be pretty similar. bat script By neokrates, written on October 30, 2010: cmd bat snippet. It looked like you were "moving" the file from one server to another, so not sure I understand the concern? Even a true "move" would essentially copy the whole file from one server to another before deleting from the original server, so for some small amount of time the file has to exist on both servers. I need add a javascript file reference into another jav. I recommend that every C shell script start with the "#!/bin/csh -f" option. But it sounds like fun. If you need help installing them, see the " Add a font to Windows 7 / 8 / 10 " tutorial. To copy files from one drive to another ,follow the steps below. When you quit MATLAB, the workspace clears. Hi guys, I know that Robocopy and Xcopy can recursively search for file masks (*. Again, when dealing with these methods, permissions are an important issue. Merge data from all workbooks in a folder. Please do as follows. I am looking to create a script for Windows XP to basically copy a folder from one location (including all its contents & sub folders and the sub folders content) and paste it into another location changing the name of the folder to be one numeral digit up from the preceding folder (i. makedirs() call will create a headerRemoved folder where all the headless CSV files will be written. 2) Open file name nfile. I found this code on this site to copy files, but not the subfolders. Makefiles are a simple way to organize code compilation. Windows allows us to easily share files and folders with other people on our network; but some of us may want to know when someone else is accessing our shared files and folders. For Windows 8, the “Move to” or “Copy to” buttons at the top of the window will be activated after selecting the files. It has -Recurse option in the script , but my requirement is to just move the files from current folder not subfolders. You will end up with one file called Code. 1 Standard input and standard output. gs and the other called index. Moving files using PowerShell. This article describes how a Microsoft 365 tenant admin can export a specific user’s data from Project for the web. Moves a file to a new file or directory, or collections of files to a new directory. To copy more than one file at once from that folder, hold down the Ctrl key and select each additional file that should be copied. makedirs() call will create a headerRemoved folder where all the headless CSV files will be written. Click Files in the top bar, select New Window (or press Ctrl + N) to open a second window. Copy text string from one text file to another within a batch file Copy text string from one but I have lost my original batch files that contained the script. All I had to do was get the files, set up a condition if the "folder path" contains the name of the folder in which the file needs to be deleted from. csh could also write those names to the output, as an alternative). Name one sheet Control and the other Target. Hey guys, I'm looking for a script that i can use to copy network folders from one location to another. @echo off cd Rem Copies lists. DESCRIPTION It can be part of a larger script\tool which genera. And one last thing: These log files will contain two columns of data. For example, the following is a valid example: cp file1 file2. For example, we may automate a task which required to get the data from differen worksheets (some times different workbooks). The following scripts demonstrate how to copy a file from one local folder to another. If you go to the mapped drive the exact same thing happens. VBScript - Copy files and folders 20 posts at the a script and copy everything in c:\temp and all subfolders below it over to my target folder, say d:\temp You are correct on that one. This batch command is used for copying files from one location to the other. Open a worksheet, and click to select a cell where you want to put the filenames. EXE - Run SQL script from DOS Batch: SQL script and dos batch script in one file, the One-File. Copy Multiple Files from Subfolders to Single Folder Hi everyone, I am looking for a way that I can copy all my jpg files from SubFolders into a Single Folder, without having to actually go into each SubFolder and perform a Drag and Drop. But all of this can be avoided with a offline browser. For example, project. The CopyFile method, a file system object method, performs the file copy operation. (On Windows, file. Copy all your data from one server to another, based on CSV file targets. Script needs to move. For example, I will want whatever that goes into the Documents folder to go to my custom folder on the desktop. What is an m-file? An m-file, or script file, is a simple text file where you can place MATLAB commands. I meant files If you're saying that you want to copy all the files WITHOUT the subfolders from one folder to another folder, this will do it: xcopy E:\source\*. Database developers and DBA can use a SQL Query or SQL Server Management Studio or scripts to copy a database table schemas and data from one database to another database in SQL Server. ) that I would like to copy into a different powerBI file instead of. How to copy the file from one location to another location using vbscript? Hi Friends, Please let me know how we can do the copy operation of a file using vbscript code?. We will try to accommodate as many as we can. unless the command is being executed from within a batch script. Here is a basic script which copies all of the newer and orphaned files from one folder to another, using a previously created session: load "Sync Laptop " sync update:left->right. How to copy or move files from one folder to another based on a list in Excel? If you have a list of file names in a column in a worksheet, and the files locate in a folder in your computor. To copy a text file to another folder. Copy one type of file to another location 3. exe but there is a much better alternative in a specially modified version of the SciTE editor. That's fine and dandy, but what if I want to copy my file to another directory? Well that's just as easy. By the way, the following code illustrates the various points I discussed in Corporate VBA Standards For Excel Users Who Program. Move and mentioned the difference between File. Powershell script to transfer files from local folder to document library. ExecuteFile statement executes all the VBScript statements in a specified file. I came across a situation where i need to move files from X folder to Y folder but I need to create folder with current date name in Y folder and move files in that folder only. Copy all your data from one server to another, based on CSV file targets. Give the project any name you like when prompted to do so in the Script Editor. Copying, Moving and Renaming Files and Directories. The fact-checkers, whose work is more and more important for those who prefer facts over lies, police the line between fact and falsehood on a day-to-day basis, and do a great job. Today, my small contribution is to pass along a very good overview that reflects on one of Trump’s favorite overarching falsehoods. Namely: Trump describes an America in which everything was going down the tubes under  Obama, which is why we needed Trump to make America great again. And he claims that this project has come to fruition, with America setting records for prosperity under his leadership and guidance. “Obama bad; Trump good” is pretty much his analysis in all areas and measurement of U.S. activity, especially economically. Even if this were true, it would reflect poorly on Trump’s character, but it has the added problem of being false, a big lie made up of many small ones. Personally, I don’t assume that all economic measurements directly reflect the leadership of whoever occupies the Oval Office, nor am I smart enough to figure out what causes what in the economy. But the idea that presidents get the credit or the blame for the economy during their tenure is a political fact of life. Trump, in his adorable, immodest mendacity, not only claims credit for everything good that happens in the economy, but tells people, literally and specifically, that they have to vote for him even if they hate him, because without his guidance, their 401(k) accounts “will go down the tubes.” That would be offensive even if it were true, but it is utterly false. The stock market has been on a 10-year run of steady gains that began in 2009, the year Barack Obama was inaugurated. But why would anyone care about that? It’s only an unarguable, stubborn fact. Still, speaking of facts, there are so many measurements and indicators of how the economy is doing, that those not committed to an honest investigation can find evidence for whatever they want to believe. Trump and his most committed followers want to believe that everything was terrible under Barack Obama and great under Trump. That’s baloney. Anyone who believes that believes something false. And a series of charts and graphs published Monday in the Washington Post and explained by Economics Correspondent Heather Long provides the data that tells the tale. The details are complicated. Click through to the link above and you’ll learn much. But the overview is pretty simply this: The U.S. economy had a major meltdown in the last year of the George W. Bush presidency. Again, I’m not smart enough to know how much of this was Bush’s “fault.” But he had been in office for six years when the trouble started. So, if it’s ever reasonable to hold a president accountable for the performance of the economy, the timeline is bad for Bush. GDP growth went negative. Job growth fell sharply and then went negative. Median household income shrank. The Dow Jones Industrial Average dropped by more than 5,000 points! U.S. manufacturing output plunged, as did average home values, as did average hourly wages, as did measures of consumer confidence and most other indicators of economic health. (Backup for that is contained in the Post piece I linked to above.) Barack Obama inherited that mess of falling numbers, which continued during his first year in office, 2009, as he put in place policies designed to turn it around. By 2010, Obama’s second year, pretty much all of the negative numbers had turned positive. By the time Obama was up for reelection in 2012, all of them were headed in the right direction, which is certainly among the reasons voters gave him a second term by a solid (not landslide) margin. Basically, all of those good numbers continued throughout the second Obama term. The U.S. GDP, probably the single best measure of how the economy is doing, grew by 2.9 percent in 2015, which was Obama’s seventh year in office and was the best GDP growth number since before the crash of the late Bush years. GDP growth slowed to 1.6 percent in 2016, which may have been among the indicators that supported Trump’s campaign-year argument that everything was going to hell and only he could fix it. During the first year of Trump, GDP growth grew to 2.4 percent, which is decent but not great and anyway, a reasonable person would acknowledge that — to the degree that economic performance is to the credit or blame of the president — the performance in the first year of a new president is a mixture of the old and new policies. In Trump’s second year, 2018, the GDP grew 2.9 percent, equaling Obama’s best year, and so far in 2019, the growth rate has fallen to 2.1 percent, a mediocre number and a decline for which Trump presumably accepts no responsibility and blames either Nancy Pelosi, Ilhan Omar or, if he can swing it, Barack Obama. I suppose it’s natural for a president to want to take credit for everything good that happens on his (or someday her) watch, but not the blame for anything bad. Trump is more blatant about this than most. If we judge by his bad but remarkably steady approval ratings (today, according to the average maintained by 538.com, it’s 41.9 approval/ 53.7 disapproval) the pretty-good economy is not winning him new supporters, nor is his constant exaggeration of his accomplishments costing him many old ones). I already offered it above, but the full Washington Post workup of these numbers, and commentary/explanation by economics correspondent Heather Long, are here. On a related matter, if you care about what used to be called fiscal conservatism, which is the belief that federal debt and deficit matter, here’s a New York Times analysis, based on Congressional Budget Office data, suggesting that the annual budget deficit (that’s the amount the government borrows every year reflecting that amount by which federal spending exceeds revenues) which fell steadily during the Obama years, from a peak of $1.4 trillion at the beginning of the Obama administration, to $585 billion in 2016 (Obama’s last year in office), will be back up to $960 billion this fiscal year, and back over $1 trillion in 2020. (Here’s the New York Times piece detailing those numbers.) Trump is currently floating various tax cuts for the rich and the poor that will presumably worsen those projections, if passed. As the Times piece reported: